ispCP - Board - Support
[HowTo] AwStats Static Pages - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HowTo] AwStats Static Pages (/thread-295.html)

Pages: 1 2 3 4 5 6


RE: [HowTo] AwStats Static Pages - grungy - 05-23-2007 05:23 AM

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



RE: [HowTo] AwStats Static Pages - SniperSister - 05-23-2007 03:15 PM

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


RE: [HowTo] AwStats Static Pages - grungy - 05-23-2007 04:12 PM

I noticed that ispCP now comes with the awstats.ispcp_tpl.conf


RE: [HowTo] AwStats Static Pages - BeNe - 05-24-2007 07:16 PM

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


RE: [HowTo] AwStats Static Pages - grungy - 05-24-2007 08:43 PM

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



RE: [HowTo] AwStats Static Pages - BeNe - 05-24-2007 09:07 PM

Yes your right grungy, then is this the only thing:

/etc/ispcp/awstats/awstats.ispcp_tpl.conf


RE: [HowTo] AwStats Static Pages - johreini - 05-30-2007 12:33 AM

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


RE: [HowTo] AwStats Static Pages - BoMan - 06-21-2007 04:06 AM

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


RE: [HowTo] AwStats Static Pages - grungy - 09-17-2007 02:11 AM

This howto does not work with the latest builds......a pitty Sad


RE: [HowTo] AwStats Static Pages - grungy - 09-20-2007 11:59 PM

I made a revision of this howto so it works with the new snapshots - http://www.isp-control.net/forum/howto-awstats-static-pages-updated-t-1372.html

I still have to do something about the cron jobs....