I use to have XAMPP on my Mac. the only thing I like about it is the webalizer. Phew But it is such a Pain In the butt to install it on my native Mac server. I like to web UI tho. It took me a while to figure this out as webalizer's site is so confusing and out of date.
Thought this guild may help some one and save time to install webalizer on the native Apache enabled Mac without XAMPP or MAPP.
1. install a dummy copy of XAMPP. I used XAMPP 1.7.3. For raplicateing the file structure purpose.
2. Download webalizer from here http://filipin.eu/webalizer-on-mac-os-x, granted that webalizer binary is really out of date, however, it packaged with all necessary webalizer deoendcies, no need to hunt down the dependcies.
3. copy these directies from your dummy XAMPP
.hist file is in XAMPP/xamppfiles/htdocs/webalizer/webalizer.hist
All UI files are in XAMPP/xamppfiles/htdocs/webalizer/xxx.png+usagexxx.html and index.html
conf file is in XAMPP/xamppfiles/etc/webalizer.conf
webalizer.php file is in XAMPP/xamppfiles/htdocs/xampp/webalizer.php
access.log file is in XAMPP/xamppfiles/logs/access.log alone with error.log, http.pid
4. Set up your directories like this:
.hist file is in /Library/WebServer/Documents/webalizer/webalizer.hist
All UI files are in /Library/WebServer/Documents/webalizer/xxx.png+usagexxx.html and index.html
conf file is in /opt/local/etc/webalizer.conf
webalizer.php file is not needed
access.log file is in /private/var/log/apache2/access_log and error_log
5. prepare your WebServer.config file. look for the lines LogFile and OutputDir and delete the comments ( delete the '#' sign
then type in
LogFile /private/var/log/apache2/access_log
OutputDir /Library/WebServer/Documents/webalizer/
6. Congigure the directories in the webalizer.config file.
7. Run webalizer command in Terminal. It will gerates all vistor data.
8. Go to localhost/your webalizer direcory. Vaila!!
Thought this guild may help some one and save time to install webalizer on the native Apache enabled Mac without XAMPP or MAPP.
1. install a dummy copy of XAMPP. I used XAMPP 1.7.3. For raplicateing the file structure purpose.
2. Download webalizer from here http://filipin.eu/webalizer-on-mac-os-x, granted that webalizer binary is really out of date, however, it packaged with all necessary webalizer deoendcies, no need to hunt down the dependcies.
3. copy these directies from your dummy XAMPP
.hist file is in XAMPP/xamppfiles/htdocs/webalizer/webalizer.hist
All UI files are in XAMPP/xamppfiles/htdocs/webalizer/xxx.png+usagexxx.html and index.html
conf file is in XAMPP/xamppfiles/etc/webalizer.conf
webalizer.php file is in XAMPP/xamppfiles/htdocs/xampp/webalizer.php
access.log file is in XAMPP/xamppfiles/logs/access.log alone with error.log, http.pid
4. Set up your directories like this:
.hist file is in /Library/WebServer/Documents/webalizer/webalizer.hist
All UI files are in /Library/WebServer/Documents/webalizer/xxx.png+usagexxx.html and index.html
conf file is in /opt/local/etc/webalizer.conf
webalizer.php file is not needed
access.log file is in /private/var/log/apache2/access_log and error_log
5. prepare your WebServer.config file. look for the lines LogFile and OutputDir and delete the comments ( delete the '#' sign
then type in
LogFile /private/var/log/apache2/access_log
OutputDir /Library/WebServer/Documents/webalizer/
6. Congigure the directories in the webalizer.config file.
7. Run webalizer command in Terminal. It will gerates all vistor data.
8. Go to localhost/your webalizer direcory. Vaila!!