On Wed, 27 Oct 1999, Nate Carlson wrote:

> Anyone know of an easy way to get all non-ssl requests for a certain
> directory to be redirected to SSL? Eg, if I have a page that should
> require ssl located at both http://www.example.com/requiressl and at
> https://www.example.com/requiressl, how could I force a request to
> the http site to redirect to the https site? Thanks.

I think you should be able to do it by defining a virtual host for port
80, and there have a redirect:

redirect /requiressl https://www.example.com/requiressl


-----------------------------------------------------------------
Mats Dufberg                                    [EMAIL PROTECTED]
NIC-SE                                           +46-8-545 857 06
Box 5774                                    fax: +46-8-545 857 29
SE-114 87 Stockholm                         http://www.nic-se.se/

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

Reply via email to