mv awstats-6.9 awstats
cd awstats/tools/
/web/awstats/icon
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/pub/tool/awstats/wwwroot/classes/"
Alias /awstatscss "/pub/tool/awstats/wwwroot/css/"
Alias /awstatsicons "/pub/tool/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/pub/tool/awstats/wwwroot/cgi-bin/"
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/pub/tool/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/web/iis_tool/aw_www/classes/"
Alias /awstatscss "/web/iis_tool/aw_www/css/"
Alias /awstatsicons "/web/iis_tool/aw_www/icon/"
ScriptAlias /awstats/ "/web/iis_tool/aw_www/cgi-bin/"
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/web/iis_tool/aw_www">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/db/htdocs/www/awstat/">
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /usr/local/apache2/passwd/passwords
Require user loguser
</Directory>
ErrorLog "|/usr/local/sbin/cronolog /log_web/log/9292cn/error-%Y%m%d.log"
CustomLog "|/usr/local/sbin/cronolog /log_web/log/9292cn/access-%Y%m%d.log" combined