mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:31:58 +01:00
apache example config fix
This commit is contained in:
parent
30a4b8d782
commit
90df359177
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user