[HOWTO] mod_ruid2

Hello everyone,

Since there are alot of people asking for it, here is my HowTo about mod_ruid2
This is based on my CentOS server with Apache 2.x.

Installing this module its no longer needed to chmod config files to 666 or upload/attachments directories to 777. Since with this module enabled everything @ HTTP will run under the user itself and not ‘apache’ anymore.
Read the rest of this entry

As you know, Webalizer stats are usually updated once a day, when using a Directadmin server. What to do, if you need more current stats? Here are some solutions (work good for me on CentOS 5).

If you need to update all server accounts, just type in the following command as root:

echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

In order to update stats for a single domain, here is another command:

/usr/bin/webalizer -p -n |DOMAIN| -o /home/|USER|/domains/|DOMAIN|/stats /var/log/httpd/domains/|DOMAIN|.log

Just replace |USER| with domain username and |DOMAIN| with domain itself and have fun!

How to Install and Configure wtop – Apache Web Server Log Analyser

wtop is really cool application for web server log analysis and to see server stats at a glance. It also has powerful log grepping capability. It is just like ‘top’ for your webserver

It can find out number of searches or signups per seconds. It can also create histogram of response time. There is also another tool called logrep a powerful command-line program for ad-hoc analysis and filtering for log files. You can dig up lots of information using wtop tools.
Read the rest of this entry

Apachetop is a curses-based top-like display for Apache information, including requests per second, bytes per second, most popular URLs, etc.

Apachetop watches a logfile generated by Apache (in standard common or combined logformat, although it doesn’t (yet) make use of any of the extra fields in combined) and generates human-parsable output in realtime.
Read the rest of this entry

Log Files on a cPanel server

Following are the logs files on a cPanel server for different services:
Read the rest of this entry