ServerAdmin webmaster@nausch.org
ServerName awstats.nausch.org
ServerAlias www.awstats.nausch.org
ServerPath /
DocumentRoot "/usr/share/awstats"
Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/"
Alias /awstatscss "/usr/share/awstats/wwwroot/css/"
Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/"
#
# This is to permit URL access to scripts/files in AWStats directory.
#
Options None
AllowOverride None
Require local
# Additional Perl modules
SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
# # URL beautifying
RewriteEngine On
RewriteRule ^/([a-z0-9-_\.]+)$ http://awstats.nausch.org/awstats/awstats.pl?config=$1 [P,L]
ErrorLog logs/awstats_error.log
CustomLog logs/awstats_access.log combined