ispCP - Board - Support
[HowTo] AwStats Static Pages UPDATED - 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 UPDATED (/thread-1372.html)

Pages: 1 2 3 4


RE: [HowTo] AwStats Static Pages UPDATED - grungy - 09-21-2007 07:18 PM

BeNe Wrote:I tested it in the Demo and it does not Work!
The Status of all domains is change, delete, or toadd but now no Domain is "OK".

What i not understand - what do you mean with this:
Quote:this should show up in /etc/apache2/sites-available/ispcp.conf ( I had to add it manually )...
Must i copy this:
Code:
#
# AWStats
#

Alias /awstatsclasses "/var/www/awstats/classes/"
Alias /awstatscss "/var/www/awstats/css/"
Alias /awstatsicons "/var/www/awstats/icon/"
Alias /awstatsjs "/var/www/awstats/js/"
Alias /stats    {WWW_DIR}/{DMN_NAME}/statistics/
<Directory /usr/lib/cgi-bin/awstats>
    AllowOverride AuthConfig
    Options -Includes FollowSymLinks +ExecCGI MultiViews
    AddHandler cgi-script cgi pl
    DirectoryIndex awstats.pl
    Order deny,allow
    Allow from all
</Directory>
To ALL Domain in the config ? Could this be ?

Greez BeNe

That is not so important it will show the icons and stuff...


RE: [HowTo] AwStats Static Pages UPDATED - BeNe - 09-21-2007 07:26 PM

I reinstall the Demo now and make these changes directly after the install.
We will see.

Greez BeNe


RE: [HowTo] AwStats Static Pages UPDATED - grungy - 09-21-2007 10:09 PM

add

Code:
#
# AWStats
#

Alias /awstatsclasses "/var/www/awstats/classes/"
Alias /awstatscss "/var/www/awstats/css/"
Alias /awstatsicons "/var/www/awstats/icon/"
Alias /awstatsjs "/var/www/awstats/js/"
Alias /stats    {WWW_DIR}/{DMN_NAME}/statistics/
<Directory /usr/lib/cgi-bin/awstats>
    AllowOverride AuthConfig
    Options -Includes FollowSymLinks +ExecCGI MultiViews
    AddHandler cgi-script cgi pl
    DirectoryIndex awstats.pl
    Order deny,allow
    Allow from all
</Directory>
to

Code:
/etc/ispcp/apache/working/ispcp.conf


and

to

Code:
/etc/apache2/sites-available/ispcp.conf



RE: [HowTo] AwStats Static Pages UPDATED - BeNe - 09-21-2007 11:08 PM

Ok - but this means that with every change in ispCP Omega the manually Part gets lost and you have to add it again.

Greez BeNe


RE: [HowTo] AwStats Static Pages UPDATED - BioALIEN - 09-25-2007 09:14 PM

It looks like a rough hack, but if this goes into core, then you dont have to manually add it every time.

What's the difference between static and dynamic loading of AwStats?


RE: [HowTo] AwStats Static Pages UPDATED - RatS - 09-25-2007 09:25 PM

Static generates HTML-Files when cron runs; dynamic creates stats on demand.

The dynamic thing is trickier to implement.


RE: [HowTo] AwStats Static Pages UPDATED - zpin - 10-01-2007 02:57 AM

When you say to put the awstats stuff into /etc/ispcp/cron.d/parts/dmn_bk_entry.tpl, it should be "dmn_add_bkp_crontab_data" you use in the /var/www/ispcp/engine/ispcp-dmn-mngr file.
As far as I can see dmn_add_crontab_data uses dmn_custom_entry.tpl, which is not changed by this howto.


RE: [HowTo] AwStats Static Pages UPDATED - grungy - 10-01-2007 04:31 AM

TNX!! The cron part now works Wink

zpin Wrote:When you say to put the awstats stuff into /etc/ispcp/cron.d/parts/dmn_bk_entry.tpl, it should be "dmn_add_bkp_crontab_data" you use in the /var/www/ispcp/engine/ispcp-dmn-mngr file.
As far as I can see dmn_add_crontab_data uses dmn_custom_entry.tpl, which is not changed by this howto.



RE: [HowTo] AwStats Static Pages UPDATED - grungy - 10-01-2007 11:04 PM

Not really just put the awstats part to /etc/ispcp/apache/working/ispcp.conf

BeNe Wrote:Ok - but this means that with every change in ispCP Omega the manually Part gets lost and you have to add it again.

Greez BeNe



RE: [HowTo] AwStats Static Pages UPDATED - Eminos - 10-05-2007 02:45 AM

grungy Wrote:The cron jobs will be put into /etc/cron.d/ispcp

Nope, not for me they're not.

The only thing created with a domain is that famous:
# [somedomain.com]:20 custom task START.
0 0 17 2 1191516168 15 {C0MMAND} &>/var/log/ispcp/custom-task-somedomain.com.log
# [somedomain.com]:20 custom task END.

Which breaks the cronfile anyway.

/E