httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huesser Peter" <peter.hues...@psi.ch>
Subject RE: [users@httpd] Rewrite http to https
Date Thu, 21 Sep 2006 06:07:30 GMT
> 
> If you are looking for particular url, this should work:
> 
> RewriteEngine on
> RewriteRule ^(.*/somepath/securefile.*) https://%{SERVER_NAME}$1 [R,L]
> 

This does not work on my server. I put this in the htaccess-file of the
DocumentRoot of the virtual server and it had no effect.

Pedro



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