apache example config fix

This commit is contained in:
SJ 2015-03-13 11:32:32 +01:00
parent 30a4b8d782
commit 90df359177

View File

@ -1,21 +1,16 @@
#### IMPORTANT!!!
####
#### Fix the hostname
####
<VirtualHost *:80> <VirtualHost *:80>
ServerName piler.yourdomain.com ServerName HOSTNAME
DocumentRoot "/var/www/piler.yourdomain.com" DocumentRoot "/var/www/piler"
<Directory /var/www/piler.yourdomain.com> <Directory /var/www/piler>
Order allow,deny Order allow,deny
Allow from all Allow from all
AllowOverride all AllowOverride all
</Directory> </Directory>
ErrorLog "/var/log/apache2/piler.yourdomain.com-error_log" ErrorLog "/var/log/apache2/HOSTNAME-error_log"
CustomLog "/var/log/apach2/piler.yourdomain.com-access_log" common CustomLog "/var/log/apache2/HOSTNAME-access_log" common
</VirtualHost> </VirtualHost>