On Mon, Aug 16, 1999, jason wrote:

> Ive got the mod_ssl working fine with my apache.. now my question is
> How do I cause certain web pages or directories that the web pages are on
> to be served up with ssl? 
> I could type https://my.web.page/secure/index.html
> but how do I make it so that when a user hits
> http://my.web.page/secure/index.html his browser will automagically go
> into https mode?

Add a redirection for this page to the <VirtualHost> of the HTTP server. For
instance something like 

RewriteEngine on
RewriteRule   ^(/secure/.*)$ https://%{SERVER_NAME}/$1 [R,L]

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

Reply via email to