httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Neakums <sneak...@zork.net>
Subject Re: [users@httpd] rewriting http to https, what am I doing wrong?
Date Thu, 30 Jan 2003 13:27:21 GMT
commence  Bill Dossett quotation:

> <Location /ir>
>      AllowOverride FileInfo Indexes AuthConfig Limit
>      DirectoryIndex index.cgi
>      RewriteEngine on
>      RewriteRule ^.*/ir(.*)$ https://%{SERVER_NAME}/ir$1 [NS]
> </Location>

Would changing the RewriteRule so that it does not match https URLs
work?  E.g:

	RewriteRule ^http:.*/ir(.*)$ https://%{SERVER_NAME}/ir$1 [NS]

-- 
 /                          |
[|] Sean Neakums            | Size *does* matter.
[|] <sneakums@zork.net>     | That's why I use Emacs.
 \                          |

---------------------------------------------------------------------
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