Forum Moderators: phranque
RewriteEngine on
Options +FollowSymlinks
DirectoryIndex index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?mode=$1 [L,QSA] <VirtualHost *:443>
ServerAdmin me@test.com
DocumentRoot "/inetpub/wwwroot/mysite"
ServerName www.mysite.com
serveralias *.mysite.com
SSLEngine On
SSLCertificateFile conf/ssl/www.dev-server.co.uk.cert
SSLCertificateKeyFile conf/ssl/www.dev-server.co.uk.key
ErrorLog logs/www.mysite.com-error_log
CustomLog logs/www.mysite.com-access_log common
</VirtualHost> Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.