httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Dossett>
Subject Re: [users@httpd] rewriting http to https, what am I doing wrong?
Date Thu, 30 Jan 2003 13:18:40 GMT
I guess that might work, but what if user just types in

with no http on the front?



Sean Neakums wrote:
> commence  Bill Dossett quotation:
>><Location /ir>
>>     AllowOverride FileInfo Indexes AuthConfig Limit
>>     DirectoryIndex index.cgi
>>     RewriteEngine on
>>     RewriteRule ^.*/ir(.*)$ https://%{SERVER_NAME}/ir$1 [NS]
> Would changing the RewriteRule so that it does not match https URLs
> work?  E.g:
> 	RewriteRule ^http:.*/ir(.*)$ https://%{SERVER_NAME}/ir$1 [NS]

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message