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.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th September 2005, 12: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 :-)

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

Last edited by feanor; 15th September 2005 at 13:08.
Reply With Quote
Sponsored Links
  #2  
Old 15th September 2005, 13:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Thanks a lot! We'll test this.

Could you please upload it again as tar.gz? I've just changed the forum settings to allow the upload of tar.gz files.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th September 2005, 13:08
feanor feanor is offline
Junior Member
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Thanks a lot! We'll test this.

Could you please upload it again as tar.gz? I've just changed the forum settings to allow the upload of tar.gz files.
Done, Thanks :-)
Reply With Quote
  #4  
Old 23rd September 2005, 09:22
misterm misterm is offline
Senior Member
 
Join Date: Aug 2005
Posts: 513
Thanks: 13
Thanked 7 Times in 6 Posts
Arrow How to install it ?

Hello with all

I am happy that there is a system for this Awstats scripts for ispconfig, but I would like to have myself how one it install, I see just that it is necessary to add lines in apache2.conf, of agreement, but, one does not need install Awstats, is to configure it in such manner, so that it functions with the Web sites.

The only thing which I miss, it is an easy way, to install it under debian or another distribution, I know one will say to me, will seek on the Web, one does not have all the people available on the site to do it.

Thank you in advance

MM
Reply With Quote
  #5  
Old 25th September 2005, 22:48
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default

anyone have tried this?
I've ended up installing ispconfig for almost 5 times due my lack of knowledge, I just like awstat very much and want to have it.

thanks
Reply With Quote
  #6  
Old 26th September 2005, 14:47
DevilAtWork DevilAtWork is offline
Junior Member
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Install Awstats on ISPconfig

Hi Feanor,

I am a newbie and interested in your awstats scripts for Ispconfig but a little bit confuse on how to install it...how to use the local and template.. can you elaborate more on the steps?

Fyi, I installed awstats RPM.
Reply With Quote
  #7  
Old 27th September 2005, 19:10
DevilAtWork DevilAtWork is offline
Junior Member
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DevilAtWork
Hi Feanor,

I am a newbie and interested in your awstats scripts for Ispconfig but a little bit confuse on how to install it...how to use the local and template.. can you elaborate more on the steps?

Fyi, I installed awstats RPM.
I have manage to install the awstats....but can I know how to put the link into the ISPconfig? I tried to use the update manager to add a url but it shows the following error:

Installations Anweisungen nicht gefunden: /home/admispconfig/ispconfig/temp/9e0ce6c98028e12d881c6618b75be317/package.ins

Somebody please help me!
Reply With Quote
  #8  
Old 27th September 2005, 19:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

The update manager is for installing .pkg upadte packages. as far as i know there is no AWStats package that can be installed with the update manager.

The error you got means that the package you uploaded is no valid .pkg package for ISPConfig.
Reply With Quote
  #9  
Old 27th September 2005, 19:44
Hellbound Hellbound is offline
Senior Member
 
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 1 Time in 1 Post
Default

so how can we have the link the ISPConfig's tools page? can we manually add that ?
Reply With Quote
  #10  
Old 27th September 2005, 20:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
 
Default

You can change the file:

/home/admispconfig/ispconfig/web/tools/inhalt_tree.php

or you build a new .pkg installer for awstats. There must be a thread about building .pkg packages anywhere in the forums.
Reply With Quote
Reply

Bookmarks

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 06:47


All times are GMT +2. The time now is 18:53.


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