HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Configuring Awstats for ispconfig (http://www.howtoforge.com/forums/showthread.php?t=571)

feanor 15th September 2005 12:47

Configuring Awstats for ispconfig
 
1 Attachment(s)
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

falko 15th September 2005 13:01

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. :)

feanor 15th September 2005 13:08

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 :-)

misterm 23rd September 2005 09:22

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 ;)

Hellbound 25th September 2005 22:48

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

DevilAtWork 26th September 2005 14:47

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.

DevilAtWork 27th September 2005 19:10

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! :(

till 27th September 2005 19:38

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.

Hellbound 27th September 2005 19:44

so how can we have the link the ISPConfig's tools page? can we manually add that ?

till 27th September 2005 20:01

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.


All times are GMT +2. The time now is 08:06.

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