Files | CentOS | Debian, Ubuntu |
---|---|---|
Apache configuration file | /etc/httpd/conf/httpd.conf | /etc/apache2/apache2.conf |
Nginx configuration | /etc/nginx/nginx.conf | /etc/nginx/nginx.conf |
Statistics for a WWW-domain is stored in /var/www/
This problem can occur if both Nginx and Apache are installed. To resolve the issue, install mod_rpaf for Apache.
Check that the AWStats configuration file for the WWW-domain /etc/awstats/awstats.
Awstats configuration file
LogFormat=1
Check the Apache configuration file for the WWW-domain
Apache configuration file
CustomLog /var/www/httpd-logs/<WWW-domain>.access.log combined
Add the following string into the configuration file /etc/awstats/awstats.
Awstats configuration file
SkipHosts="<IP address>"