

In the file put Alias /awstats /var/www/html/awstats and restart the server. go in you httpd/conf.d dir and add a file nf. Please note that after you edit this file you have to go over you clients and change the stats to webalizer and back to awstats so the file can be updated.Ģ. This file is used as template when createing the users nf files. Locate the file: /etc/awstats/ and edit the line: DirIcons="/icon" then change it to DirIcons="/awstats/icon" or whatever you like.

I had the same problems as you, but I've manage to resolve them, so here is what I did:ġ. What file is being accessed looking for these paths? It needs to be changed then awstats will run. Statistics: Unable to execute /usr/share/awstats/awstats_ -awstatsprog=/var/www/cgi-bin/awstats/ -configdir=/usr/local/psa/etc/awstats -config=domain-ftp -dir=/var/www/vhosts/domain/statistics/ftpstat/ Statistics: Unable to execute /usr/share/awstats/awstats_ -awstatsprog=/var/www/cgi-bin/awstats/ -configdir=/usr/local/psa/etc/awstats -config=domain-anon_ftp -dir=/var/www/vhosts/domain/statistics/anon_ftpstat/ Statistics: Unable to execute /usr/share/awstats/awstats_ -awstatsprog=/var/www/cgi-bin/awstats/ -configdir=/usr/local/psa/etc/awstats -config=domain-https -dir=/var/www/vhosts/domain/statistics/webstat-ssl/ Statistics: Unable to execute /usr/share/awstats/awstats_ -awstatsprog=/var/www/cgi-bin/awstats/ -configdir=/usr/local/psa/etc/awstats -config=domain-http -dir=/var/www/vhosts/domain/statistics/webstat/

Sh: /usr/share/awstats/awstats_: No such file or directory Sh: /var/www/cgi-bin/awstats/: No such file or directory System error 2: No such file or directory Okay I think I am getting to the bottom of it.
