Help answer threads with 0 replies.
Go Back > Blogs > jkzfixme
User Name


Rate this Entry

Final touches on an Ubuntu 8.10 LAMP server Part III

Posted 12-10-2008 at 12:01 PM by jkzfixme
Updated 12-22-2008 at 10:39 AM by jkzfixme

This is probably going to be the last post in this series as I cant think of anything else that would be particularly useful. Inevitably there's something forgotten so comments, suggestions and constructive criticism is always welcome.

As a system administrator its easy to tackle the technical stuff and leave the rest to someone else, however when your a small business like I am it becomes a little convoluted. What Im really getting at is its easy to log uptime, server load, users but there's a lot of stuff that's easily overlooked. When people want a web presence, you need to not only get them out there, but prove that people are actually seeing them. It also helps with SEO optimization and demographic statistics. Its also extremely useful for e commerce sights as you can tell the client how many people are on the sight as opposed to how many are squandering their money on stuff.

The way that we can achieve this is with a program ominously called "The Webalizer". It bills itself as a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser. You can read more about it here.

Its pretty easy to install, just ssh on in and install with this code
sudo apt-get install webalizer
Its really that simple. Now all you have to do to access the information is go to and BAM there you have it. Out of the box its pretty comprehensive, however you can customize the snot out of it using the configuration file , here's a sample one for your viewing pleasure.

Since this isn't really information for the public I would recommend creating a .htaccess which is password protected

sudo vi /var/www/html/webalizer/.htaccess
# password-protect a directory
AuthType basic
AuthName “This directory is protected”
AuthUserFile /home/path/.htpasswd
AuthGroupFile /dev/null
Require valid-user
then save and your webalizer directory now is for your eyes only. This can also be applied on any directory you wish.

Jesse Ziter
Posted in Uncategorized
Views 2799 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 07:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration