LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs > jkzfixme
User Name
Password

Notices

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
Quote:
sudo apt-get install webalizer
Its really that simple. Now all you have to do to access the information is go to your-url.com/webalizer 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

Quote:
sudo vi /var/www/html/webalizer/.htaccess
Quote:
# password-protect a directory
resides
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.


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

Comments

 

  



All times are GMT -5. The time now is 11:41 PM.

Main Menu
Advertisement

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