Hi,

I'm currently running an Apache web server with Mod_SSL, and have the
following virtual host statement:

<VirtualHost mywebserver:8080>
  <IfModule mod_ssl.c>
      SSLEngine on
      SSLCertificateFile      /xx/xxx/xxx.crt
      SSLCertificateKeyFile   /xx/xxx/xxx.key
      SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
   </IfModule>
   ServerName mywebserver
   DocumentRoot /xxx/xxx/xxx/xxx
   <Directory /xxx/xxx/xxx/xxx>
     Options Indexes FollowSymLinks MultiViews +ExecCGI
     Allow from all
   </Directory>
</VirtualHost>

If I connect using http, I get an Apache error stating that this an SSL
enabled server, and I should use https.

My question is, how do I get it to redirect from http to https? This seems
easy enough if you aren't running a virtual server on a specific port and
just want to redirect to https for certain directories, but in this
configuration I've not been able to achieve this.

Thanks,

CIMLinux

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

Reply via email to