Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [users@httpd] Rewrite http to https


  • From: "Huesser Peter" <peter.huesser@xxxxxx>
  • Subject: RE: [users@httpd] Rewrite http to https
  • Date: Thu, 21 Sep 2006 08:07:30 +0200

> 
> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx