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: Joe Morris <morris 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:22:27 -0500

On Fri, 20 Feb 2004, 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?

Yep, sure can. By default that directive already passes everything on
after the match. So if you had a request of...

Redirect permanent /foo http://newsite.com/foobar

...and your browser requested...

http://oldsitename/foo/newstuff.html

...server would tell browser to go to...

http://newsite.com/foobar/newstuff.html

Even with a rewrite rule if you tell it to redirect to a new site, it is
NOT transparent. The browser must know this and show it in the address
bar.

_______________________________________________
Joe Morris, Web Systems Manager
Academic Technology and Networks
The University of North Carolina at Chapel Hill




Archive powered by MHonArc 2.6.24.

Top of Page