diff options
Diffstat (limited to 'apache2/sites-available/0_default')
-rw-r--r-- | apache2/sites-available/0_default | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/apache2/sites-available/0_default b/apache2/sites-available/0_default index 142392e..ce390fb 100644 --- a/apache2/sites-available/0_default +++ b/apache2/sites-available/0_default @@ -1,25 +1,19 @@ <VirtualHost *:443> - ServerName wrong.example.com - ServerAdmin webmaster@example.com - DocumentRoot /home/webmaster/public_websites/wrong.example.com + ServerName wrong.example.com + ServerAdmin webmaster@example.com + DocumentRoot /home/webmaster/public_websites/wrong.example.com - Include /etc/apache2/conf.d/local-ssl.conf + Include conf.d/local-ssl.conf - <Location /> - Options +MultiViews - DirectoryIndex index - </Location> - AddLanguage da .da + ErrorLog ${APACHE_LOG_DIR}/wrong.example.com-error.log + CustomLog ${APACHE_LOG_DIR}/wrong.example.com-access.log combined </VirtualHost> <VirtualHost *:80> - ServerName wrong.example.com - ServerAlias wrong - ServerAdmin webmaster@example.com - DocumentRoot /home/webmaster/public_websites/wrong.example.com + ServerName wrong.example.com + ServerAlias wrong + ServerAdmin webmaster@example.com + DocumentRoot /home/webmaster/public_websites/wrong.example.com - <Location /> - Options +MultiViews - DirectoryIndex index - </Location> - AddLanguage da .da + ErrorLog ${APACHE_LOG_DIR}/wrong.example.com-error.log + CustomLog ${APACHE_LOG_DIR}/wrong.example.com-access.log combined </VirtualHost> |