|
[HowTo] AwStats Static Pages
|
| Author |
Message |
grungy
Junior Member

Posts: 190
Joined: Dec 2006
Reputation: 6
|
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);
- OMEGUS FANATICUS -
- Nicaš Do Jaja -
- "If ispCP the dominating hosting system becomes, there is a faith war less" -
Debian Etch 4.0 User
(This post was last modified: 05-23-2007 05:23 AM by grungy.)
|
|
| 05-23-2007 05:23 AM |
|
SniperSister
Junior Member

Posts: 21
Joined: Feb 2007
Reputation: 0
|
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 |
|
grungy
Junior Member

Posts: 190
Joined: Dec 2006
Reputation: 6
|
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...
- OMEGUS FANATICUS -
- Nicaš Do Jaja -
- "If ispCP the dominating hosting system becomes, there is a faith war less" -
Debian Etch 4.0 User
(This post was last modified: 05-24-2007 08:43 PM by grungy.)
|
|
| 05-24-2007 08:43 PM |
|
johreini
Junior Member

Posts: 64
Joined: May 2007
Reputation: 0
|
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 
Hi SniperSister how it looks like the install script. It will be a very good thing.
thx
OS: Debian Etch 4.0
HW: Fujitsu-Siemens TX150S5 - Xeon 5040 - 1GB DDR2-PC5700 - LSI SATA RAID5
32bit/64bit: 32bit
RC/Revision: RC3 ( updated from Nightly )
Install date: 10.07.2007
VM/Real Server: Real Server
Domains: about 125
Mailaccounts: about 895
Databases: about 59
|
|
| 05-30-2007 12:33 AM |
|
BoMan
Posts: 3
Joined: May 2007
Reputation: 0
|
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 |
|
grungy
Junior Member

Posts: 190
Joined: Dec 2006
Reputation: 6
|
RE: [HowTo] AwStats Static Pages
- OMEGUS FANATICUS -
- Nicaš Do Jaja -
- "If ispCP the dominating hosting system becomes, there is a faith war less" -
Debian Etch 4.0 User
|
|
| 09-20-2007 11:59 PM |
|