diff options
-rw-r--r-- | apache2/sites-available/www.secure-example.com | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apache2/sites-available/www.secure-example.com b/apache2/sites-available/www.secure-example.com index 6510f04..792905a 100644 --- a/apache2/sites-available/www.secure-example.com +++ b/apache2/sites-available/www.secure-example.com @@ -19,3 +19,18 @@ TransferLog /dev/null </VirtualHost> +<VirtualHost *:443> + ServerName www.example.com:443 + ServerAlias *.example.com:443 + ServerName www:443 + ServerAlias *.www:443 + ServerAdmin webmaster@example.com + + Include /etc/apache2/conf.d/local-ssl.conf + + RewriteEngine On + RewriteRule / http://www.example.com/ [R] +# RewriteRule /(.*) http://www.example.com/$1 [R] + + TransferLog /dev/null +</VirtualHost> |