diff options
Diffstat (limited to 'apache2/sites-available/www.secure-example.com')
-rw-r--r-- | apache2/sites-available/www.secure-example.com | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apache2/sites-available/www.secure-example.com b/apache2/sites-available/www.secure-example.com index 4d9d940..6510f04 100644 --- a/apache2/sites-available/www.secure-example.com +++ b/apache2/sites-available/www.secure-example.com @@ -1,21 +1,21 @@ <VirtualHost *:80> - ServerName www.secure-example.com + ServerName www.example.com ServerAlias www - ServerAdmin webmaster@secure-example.com - DocumentRoot /home/webmaster/public_websites/www.secure-example.com/ + ServerAdmin webmaster@example.com + DocumentRoot /home/webmaster/public_websites/www.example.com/ Include /etc/apache2/conf.d/local-log-vhosts.conf CustomLog "| /usr/sbin/vlogger -s access.log -u admin -g admin -t '%Y.%m.%d' /home/webmaster/weblogs" combined_vlogger ErrorLog "| /usr/sbin/vlogger -s error.log -u admin -g admin -t '%Y.%m.%d' -e /home/webmaster/weblogs/ERRORS" </VirtualHost> <VirtualHost *:80> - ServerName secure-example.com - ServerAlias *.www.secure-example.com - ServerAdmin webmaster@secure-example.com + ServerName example.com + ServerAlias *.www.example.com + ServerAdmin webmaster@example.com RewriteEngine On - RewriteRule / http://www.secure-example.com/ [R] -# RewriteRule /(.*) http://www.secure-example.com/$1 [R] + RewriteRule / http://www.example.com/ [R] +# RewriteRule /(.*) http://www.example.com/$1 [R] TransferLog /dev/null </VirtualHost> |