> > Currently I've one vhost on Port 443 and while others listen on Port 80.
> > I would like to test the scenario of putting *everything* on openSSL ie
> > listening on Port 443.
> > Do I assume right that all I need is a "redirect" from the Port 80 vhost to
> > Port 443 ?

Yes, that sounds about right. Something like this should do:

Listen 80

<VirtualHost *:80>
ServerName example.com
RedirectPermanent / https://example.com
</VirtualHost>

vh

Mads Toftum
--
Speaking at http://ApacheCon.com/
T03, "Apache 2 mod_ssl tutorial" (3h)
WE03, "Troubleshooting Apache configurations" 
WE11, "Apache mod_rewrite, the Swiss Army Knife of URL manipulation" 
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to