I'm using

RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1

but you can just specify the paths that are protected
if you don't want the entire site redirected.

Steve Luzzi
USACERL


> 
> Hi, 
> 
> is there a possibility to switch automatically from http to https as soon
> as a password is required to access a web page? The setup for the http and
> https server is identical.
> 
> For any hints thank you in advance
>       Harald
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]
> 

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to