httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Stahr" <da...@prairiesys.com>
Subject RE: [users@httpd] rewriting http to https
Date Wed, 02 Oct 2002 22:03:12 GMT
> I'd prefer not to.  You see, I want any URL that's requested 
> with that domain to be changed over to https, not just the 
> root of the domain.  The way I understand it, redirecting "/" 
> will only work if the user requests exactly 
> "http://www.domain.com/".  Am I wrong in that?

Yes, you're wrong.  "Redirect /" will match everything ....

/
/help.htm
/cgi-bin/foo/bar
/etc/etc/etc

All will get redirected to your https virtual host, with all path info
and query string data intact!  (Does on my server, anyway)

Dave


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message