cPanel - Stats not Generating
Posted by Jason Web Hosting Thursday 30 October 2008 7:22 pm
If no stats stats are generating for any of the domains on your server, make sure you have the LogFormat lines added in your Apache configuration file. The LogFormat lines will tell where the log files should be stored and in what format. Following are the changes has to be made in the Apache configuration file. Edit the file (httpd.conf) and search the line: ErrorLog /usr/local/apache/logs/error_log
and add the following lines below it:
LogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”" combined
LogFormat “%h %l %u %t \”%r\” %>s %b” common
LogFormat “%{Referer}i -> %U” referer
LogFormat “%{User-agent}i” agent
Save the file and execute the below commands for the new changes to take effect:
/usr/local/cpanel/bin/apache_conf_distiller –update
/usr/local/cpanel/bin/build_apache_conf
/etc/init.d/apache restart
Leave a Reply
You must be logged in to post a comment.
Categories
- Cpanel / WHM (15)
- Linux Hosting (16)
- Linux Plesk (4)
- Linux VPS (3)
Archives
Web Hosting Blogroll
-
Dedicated Server
Dedicated Server Hosting
Load Balancing Server
Load Balanced Servers
VPS Hosting
Virtual Private Servers
cPanel Hosting
Linux Hosting
Windows Hosting
Windows Shared Hosting
Reseller Hosting
Reseller Web Hosting
Windows Reseller
Windows Reseller Hosting
Windows VPS
Windows VPS Hosting
Semi Dedicated Servers
Semi-Dedicated Hosting















