My suggestion:

<VirtualHost *:80>
   ServerName your_server
   ServerAdmin [EMAIL PROTECTED]
   # don't loose time with IP address lookups
   HostnameLookups Off
   # needed for named virtual hosts
   UseCanonicalName Off
   #
   RewriteEngine On
   RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1
   RewriteLog /var/log/apache2/your_server_rewrite.log
   # RewriteLogLevel 9
</VirtualHost>

<VirtualHost *:443>
   ServerName your_server
   ServerAdmin [EMAIL PROTECTED]
   # don't loose time with IP address lookups
   HostnameLookups Off
   # needed for named virtual hosts
   UseCanonicalName Off
   # Possible values include: debug, info, notice, warn, error, crit,
   # alert, emerg.
   LogLevel info
   ServerSignature Off
   # SSL
   SSLEngine On
[...]
</VirtualHost>

cheers

Greg
--
what's puzzlin' you, is the nature of my game

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to