Skip to Content.
Sympa Menu

unclug - Re: [unclug] Redirect 80 ---> 443 with Apache?

unclug AT lists.ibiblio.org

Subject: UNC Linux Users Group

List archive

Chronological Thread  
  • From: Brian Payst <brian_payst AT unc.edu>
  • To: UNC Linux Users Group <unclug AT lists.ibiblio.org>
  • Subject: Re: [unclug] Redirect 80 ---> 443 with Apache?
  • Date: Fri, 20 Feb 2004 10:39:29 -0500

I've had issues in the past with Apache where the order in which I was loading modules caused different behaviors. This was with 1.3.x, and with mod_dav, but maybe try changing the module loading sequence?

John W. Sopko Jr. wrote:

I tried this at first, a re-direct causes a loop, you come in on port
80, see the redirect, come in on port 443, see the Redirect, come in on port 443 see the Redirect....Can probably get to work with virtual servers. I just wanted a simple way when going to port 80 to go to
port 443 like Jeff did. I think there is some issue in apaceh 2.x.

Also if you use regular expressions you need to use "RedirectMatch" instead of plain "Redirect"

John Reuning wrote:

The main thing that rewriting offers over redirecting is the transparent
translation of urls from http to https, right? Can the Redirect
directive take patters and insert them via $1, $2, etc?

Thanks,

-jrr


| RewriteRule ^/(.*) http://yahoo.com [L,R,NC]



Redirect permanent .* https://newlocation.com



_______________________________________________
unclug mailing list
unclug AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/unclug



--
Brian Payst, MS
Director of Technology & Systems Support
Division of Student Affairs
The University of North Carolina at Chapel Hill
voice: (919) 962-1469 fax: (919) 962-5241




Archive powered by MHonArc 2.6.24.

Top of Page