httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Dossett ...@emtex.com>
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

www.example.com/ir

with no http on the front?

thanks

Bill



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



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