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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to