The procedures for setup Awstats on a virtual
host running Apache on a Centos 6.x server can be explained as follows;
The first thing to do, off course, is installing the Awstats RPM. Login as root and do the installation of Awstats using the command:
Next, it is needed to append Awstats directives into the httpd.conf file of the server that running virtual hosting.
The httpd.conf can be accessed for editing using the command:
Add the following sections inside the corresponding <VirtualHost *:80> section of the httpd.conf
The first thing to do, off course, is installing the Awstats RPM. Login as root and do the installation of Awstats using the command:
yum
install awstatsNext, it is needed to append Awstats directives into the httpd.conf file of the server that running virtual hosting.
The httpd.conf can be accessed for editing using the command:
nano
/etc/httpd/conf/httpd.confAdd the following sections inside the corresponding <VirtualHost *:80> section of the httpd.conf