# cat /etc/httpd/conf.d/awstats.conf # # Content of this file, with correct values, can be automatically added to # your Apache server by using the AWStats configure.pl tool. # # # Directives to add to your Apache conf file to allow use of AWStats as a CGI. # Note that path "/usr/share/awstats/" must reflect your AWStats install path. # 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 Order allow,deny Allow from all # Additional Perl modules SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins ScriptAlias /stats /usr/share/awstats/wwwroot/cgi-bin/awstats.pl ScriptAlias /awstats.pl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl