Current time: 04-26-2024, 01:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] AwStats Static Pages
Author Message
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #41
RE: [HowTo] AwStats Static Pages
SniperSister Wrote:
Code:
/etc/ispcp/awstats/awstats.vhcs_tpl.conf

When you add a new domain, Omega will generate a awstats-configuration file now. In the next step, we need to create a cronjob for each domain. Omega provides a function to create cronjobs, but this function is disabled at the moment, so we need to enable it. Open /var/www/ispcp/engine/ispcp-dmn-mngr and search for these lines (should be around 3540):

Code:
return $rs if ($rs != 0);

    $rs = dmn_add_mta_data($dmn_data);

Below at the following lines:

Code:
# Modified by Snipersister for awstats Support
    $rs = dmn_add_crontab_data($dmn_data);

    return $rs if ($rs != 0);

Around line 3640 are the following lines:

Code:
$rs = dmn_del_mta_data($dmn_data);

    return $rs if ($rs != 0);

Again, add the following code below:

Code:
# Modified by Snipersister for awstats Support    
     $rs = dmn_del_crontab_data($dmn_data);

    return $rs if ($rs != 0);


For easir modification/browsing of the file you should say in Which section is the code, sections like 'Add Domain Data' & 'Delete Domain Data'


Code:
################################################################################​
##
## Add Domain Data
##
return $rs if ($rs != 0);

    $rs = dmn_add_mta_data($dmn_data);



Code:
################################################################################​
##
## Delete Domain Data
##

$rs = dmn_del_mta_data($dmn_data);

    return $rs if ($rs != 0);
(This post was last modified: 05-23-2007 05:23 AM by grungy.)
05-23-2007 05:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
SniperSister Offline
Junior Member
*

Posts: 22
Joined: Feb 2007
Reputation: 0
Post: #42
RE: [HowTo] AwStats Static Pages
grungy Wrote:This should be ln -s /usr/share/awstats/icon /var/www/awstats/icon

Oh man...you're right, sorry...don't know who this happend...
05-23-2007 03:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #43
RE: [HowTo] AwStats Static Pages
I noticed that ispCP now comes with the awstats.ispcp_tpl.conf
05-23-2007 04:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #44
RE: [HowTo] AwStats Static Pages
In your HowTo on the first site,
Code:
/etc/ispcp/awstats/awstats.vhcs_tpl.conf


should this not be changed to /etc/ispcp/awstats/awstats.ispcp_tpl.conf ??

Also the file inside your zip...Smile
05-24-2007 07:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #45
RE: [HowTo] AwStats Static Pages
Yes but now icpCP comes already with awstats.ispcp_tpl.conf so no need for it anymore to be attached...

BeNe Wrote:In your HowTo on the first site,
Code:
/etc/ispcp/awstats/awstats.vhcs_tpl.conf


should this not be changed to /etc/ispcp/awstats/awstats.ispcp_tpl.conf ??

Also the file inside your zip...Smile
(This post was last modified: 05-24-2007 08:43 PM by grungy.)
05-24-2007 08:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #46
RE: [HowTo] AwStats Static Pages
Yes your right grungy, then is this the only thing:

/etc/ispcp/awstats/awstats.ispcp_tpl.conf
05-24-2007 09:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
johreini Offline
Junior Member
*

Posts: 75
Joined: May 2007
Reputation: 0
Post: #47
RE: [HowTo] AwStats Static Pages
SniperSister Wrote:Hm okay, i'll try to write a shellscript to realize this...
I'm a little stressed these days, so it can take a while. Sry Wink
Hi SniperSister how it looks like the install script. It will be a very good thing.

thx
05-30-2007 12:33 AM
Find all posts by this user Quote this message in a reply
BoMan Offline


Posts: 3
Joined: May 2007
Reputation: 0
Post: #48
RE: [HowTo] AwStats Static Pages
Hi, I have a problem installing that stuff. I tried to do this little tutorial step by step but no statistics will be generated.

I tried to do with the build from 13.06.2007

I think there is an error in the /etc/ispcp/crontab/parts/dmn_bk_entry.tpl:

There is no file like /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl after the installation.

The other things seems to be ok.

Where is the logfile from awstats? Where can I see if awstats is doing anything?

Thanks a lot
06-21-2007 04:06 AM
Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #49
RE: [HowTo] AwStats Static Pages
This howto does not work with the latest builds......a pitty Sad
09-17-2007 02:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #50
RE: [HowTo] AwStats Static Pages
I made a revision of this howto so it works with the new snapshots - http://www.isp-control.net/forum/howto-a...-1372.html

I still have to do something about the cron jobs....
09-20-2007 11:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)