Webalizer is a web server log file analysis program, which produces usage statistics in HTML format for viewing with a browser. The results are presented in both columnar and graphical format, which facilitates interpretation. Yearly, monthly, daily and hourly usage statistics are presented, along with the ability to display usage by site, URL, referrer, user agent, browser and country, user agent and referrer are only available if your web server produces Combined log format files. The person who write this program can be reached with Bradford L. Barrett, brad@mrunix.net.
Webalizer RPM is installed by default. Uninstall Webalizer rpm –e
Install GeoIP library
tar –zxvf /usr/src/GeoIP.tar.gz
cd /usr/src/GeoIP-version
make
make
Install and patch Webalizer with geolizer
tar –zxvf style=”list-style-type : lower-alpha;”>tar –zxvf style=”list-style-type : lower-alpha;”>cd /usr/src
Run webalizer, webalizer –c />You may want to add shared libraries path for libGeoIp into /etc/ld.so.conf By default, libGeoIP library is installed in Run ldconfig after changes.
Add a crontab entry as follow (runs everyday at 0010am):
10 0 * * * for i in /etc/webalizer/*.conf; do /usr/local/bin/webalizer -d –c $i; done
Assume we have main web root directory at /home/admin/web, and we would like to have CGIWrap transparently at the background. The cgi-bin folder is located inside web folder. Please change both the user and group in httpd.conf to apache.
tar -zxvf
./configure –with-httpd-user=apache
make install
Update the httpd.conf file with
ScriptAlias /cgi-bin/
RewriteEngine On RewriteMap lowercase int:tolower RewriteRule ^/cgi-bin/(.*) /cgi-bin/cgiwrap/admin/$1 [PT]