Current time: 01-25-2022, 09:23 AM Hello There, Guest! (LoginRegister)


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

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #11
RE: [HowTo] AwStats Static Pages UPDATED
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...
09-21-2007 07:18 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: #12
RE: [HowTo] AwStats Static Pages UPDATED
I reinstall the Demo now and make these changes directly after the install.
We will see.

Greez BeNe
09-21-2007 07:26 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: #13
RE: [HowTo] AwStats Static Pages UPDATED
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
09-21-2007 10:09 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: #14
RE: [HowTo] AwStats Static Pages UPDATED
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
09-21-2007 11:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BioALIEN Offline
Public Relations Officer
*****
Dev Team

Posts: 620
Joined: Feb 2007
Reputation: 5
Post: #15
RE: [HowTo] AwStats Static Pages UPDATED
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?
09-25-2007 09:14 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #16
RE: [HowTo] AwStats Static Pages UPDATED
Static generates HTML-Files when cron runs; dynamic creates stats on demand.

The dynamic thing is trickier to implement.
09-25-2007 09:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #17
RE: [HowTo] AwStats Static Pages UPDATED
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.
10-01-2007 02:57 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: #18
RE: [HowTo] AwStats Static Pages UPDATED
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.
10-01-2007 04:31 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: #19
RE: [HowTo] AwStats Static Pages UPDATED
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
10-01-2007 11:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #20
RE: [HowTo] AwStats Static Pages UPDATED
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
10-05-2007 02:45 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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