000-default.conf
810 Bytes
# ************************************
# Vhost template in module puppetlabs-apache
# Managed by Puppet
# ************************************
<VirtualHost *:8080>
ServerAdmin amda@irap.omp.eu
## Vhost docroot
DocumentRoot "/var/www"
## Alias declarations for resources outside the DocumentRoot
Alias /awstatsclasses "/usr/share/awstats/classes/"
Alias /awstatscss/ "/usr/share/awstats/css/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/"
## Directories, there should at least be a declaration for /var/www
<Directory "/var/lib/awstats/">
AllowOverride None
Require all granted
</Directory>
## Logging
ErrorLog "/var/log/apache2/error.log"
ServerSignature Off
CustomLog "/var/log/apache2/access.log" combined
</VirtualHost>