Instalando o AWSTATS no Slackware
Neste artigo informo como configurar o AWSTATS no Slackware sem mistérios, de uma forma amigável e mantendo os padrões da distribuição. Com o AWSTATS você terá a estatística completa de visitas nos sites instalados em ser servidor.
Parte 2: Instalando
# mkdir /tmp/pkg
# cd /tmp/pkg
# wget http://www.jpfaria.com/jpf-pkg/awstats-6.5-i686-1jpf.tgz
# installpkg awstats-6.5-i686-1jpf.tgz
OBS: Não esqueça de estar logado como root.
Basta adicionar as seguintes linhas no /etc/apache/httpd.conf após a linha <IfModule mod_alias.c>:
# cd /tmp/pkg
# wget http://www.jpfaria.com/jpf-pkg/awstats-6.5-i686-1jpf.tgz
# installpkg awstats-6.5-i686-1jpf.tgz
OBS: Não esqueça de estar logado como root.
Alterando o httpd.conf
Basta adicionar as seguintes linhas no /etc/apache/httpd.conf após a linha <IfModule mod_alias.c>:
#
# 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 Installation 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.
#
<Directory "/usr/share/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# 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 Installation 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.
#
<Directory "/usr/share/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
mais tá bom o artigo,mas bem que vc poderia colocar um print screen em do awstats sendo executado no navegador
flww