Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 15th September 2005, 13:47
feanor feanor is offline
Junior Member
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Configuring Awstats for ispconfig

Hi, I've built a script and a template config file for awstats to work automatically with ispconfig/apache2. Just put it in a cron job and let it do the work. It works for me, though I don't use any authentication for the stats themselves.
Also, it needs a template file for awstats.
Last, you need to add a couple of lines in your apache2.conf file to create a logfile that can be used by awstats properly:

LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" virtual_combined

# Add this log file for use with Awstats
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/awstats_access_log /var/log/httpd/awstats_access_log_%Y_%m_%d" virtual_combined

Use it at your own risk :-)

Attached Files
File Type: gz awstats-ispconfig.tar.gz (18.3 KB, 1467 views)

Last edited by feanor; 15th September 2005 at 14:08.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help config Awstats domino Programming/Scripts 4 6th September 2005 07:47

All times are GMT +2. The time now is 17:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.