From a9bf97764205b57275d52075803222d445ea3ff2 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 27 Mar 2012 13:55:32 +0200 Subject: Modernize sample apache2 site snippets. --- apache2/sites-available/0_default | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'apache2/sites-available/0_default') 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 @@ - 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 - - Options +MultiViews - DirectoryIndex index - - AddLanguage da .da + ErrorLog ${APACHE_LOG_DIR}/wrong.example.com-error.log + CustomLog ${APACHE_LOG_DIR}/wrong.example.com-access.log combined - 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 - - Options +MultiViews - DirectoryIndex index - - AddLanguage da .da + ErrorLog ${APACHE_LOG_DIR}/wrong.example.com-error.log + CustomLog ${APACHE_LOG_DIR}/wrong.example.com-access.log combined -- cgit v1.2.3