httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georges Villot <gvil...@free.fr>
Subject [users@httpd] rewrite + ssl
Date Wed, 29 Nov 2006 16:49:42 GMT
Hi,

I'm trying to rewrite all HTTP calls to HTTPS, except for the default 
page. So I wrote in the apache config:

RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/$ - [S=1]
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]

it works, except that the SSL certificate is sent anyway, what I would 
like to avoid.

thank you in advance for any help,

georges.


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