Web server

How to setup awstats-Web Analyser

AWSTATS is an Apache log file analyzer that will show details about traffic to your web sites.

Setting up awstats guide

now run the awstats.pl script:
% cd /usr/share/awstats/wwwroot/cgi-bin/
% sudo perl awstats.pl -update -config=mysite

If all goes well, you should see something along the lines of:
Found 0 dropped records
Found 0 corrupted records,
Found 150 old records,
Fount 50 new qualified records.

…at the end of the update script output.

So, to do this with multiple domains, just repeat the steps above, making sure to make the appropriate changes to each domain…

This will hopefully create a config file fore each of your domains in /etc/awstats with the name awstats.web3us.com.


How to setup Apache

Here are the tips I learned about configuring Apache

Install Apache 2.x

1. Edit /etc/httpd/conf.d/php.conf to add Directory entries for phpMyAdmin, gallery2, mediawiki, and scripts. AliasMatch ^/phpMyAdmin(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/var/www/phpMyAdmin$1" Options Indexes AllowOverride None Order allow,deny Allow from all

2. Create /opt/www

3. edit http.conf so that the Document Root is /opt/www

4. Changed Web Root to link to /opt/www

5. restart Apache server /etc/rc.d/init.d/httpd restart



Subscribe to RSS - Apache