Current time: 12-24-2024, 02:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] Awstats not working... i think
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #1
[Solved] Awstats not working... i think
Hello all again....

I have been reading some threads on awstats.... I am a bit confused on how it is implemented...

First off dynamic or static, does this mean there is a choice to have the stats updated at a specific time each day or each time the user goes to his stats page(dynamic)?

Secondly my crontab for ispcp looks weird is it normally to have stuff look like this?

# AWStats
{AW-ENABLED}15 */6 * * * root {AWSTATS_ROOT_DIR}/awstats_updateall.pl now -awstatsprog={AWSTATS_ENGINE_DIR}/awstats.pl

Also there is no ALais to awstats as i seen on another post, so i guess thats why i get a not found...

Thanks...

Rob..
(This post was last modified: 10-26-2007 07:00 PM by mata.)
10-24-2007 12:52 AM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #2
RE: Awstats not working... i think
Oh, boy awstats seems all messed up.... not even sure where to start....

First off redirect or alias in the apache conf looks like this
http://localhost/stats/stupidguytalk.org

of course that makes no sense at all... what should it be?
Not sure how to tell what revision i have i downloaded it on the 17th... How do i tell what revision Omega is?

Thanks...

Rob...
10-24-2007 01:35 AM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #3
RE: Awstats not working... i think
Quote:of course that makes no sense at all... what should it be?
ever heard of mod_proxy?
10-24-2007 09:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #4
RE: Awstats not working... i think
Thanks for being so precise in your answer..


raphael Wrote:
Quote:of course that makes no sense at all... what should it be?
ever heard of mod_proxy?
10-25-2007 10:29 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #5
RE: Awstats not working... i think
we have awstats on a cgi-bin at localhost and proxy all accesses to it then.

That way we come around the limitations of suexec - without opening an security hole.
10-26-2007 03:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #6
RE: Awstats not working... i think
Ok so what should the url be to the stats for a domain then?

http://www.domain.com/stats ??
Thanks for that explanation, i appreciate it!

Rob..

ephigenie Wrote:we have awstats on a cgi-bin at localhost and proxy all accesses to it then.

That way we come around the limitations of suexec - without opening an security hole.
10-26-2007 04:39 AM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #7
RE: Awstats not working... i think
If i go to http:/www.domain.com/stats

i get this

Not Found

The requested URL /stats/domain.com was not found on this server.
Apache Server at localhost Port 80


So i guess the proxy is working but there must be a path issue?

Smile


robmorin Wrote:Ok so what should the url be to the stats for a domain then?

http://www.domain.com/stats ??
Thanks for that explanation, i appreciate it!

Rob..

ephigenie Wrote:we have awstats on a cgi-bin at localhost and proxy all accesses to it then.

That way we come around the limitations of suexec - without opening an security hole.
10-26-2007 04:50 AM
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: #8
RE: Awstats not working... i think
Quote:http://www.domain.com/stats ??
Thanks for that explanation, i appreciate it!
Yes, exactly this but you need the "/" on the end like this:
Code:
http://www.domain.com/stats/

Greez BeNe
10-26-2007 04:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #9
RE: Awstats not working... i think
In the domain error.log files i see this...

[Wed Oct 24 17:19:50 2007] [error] proxy: ap_get_scoreboard_lb(105) failed in child 11290 for worker http://localhost/stats/domain.com
??
Rob..
robmorin Wrote:If i go to http:/www.domain.com/stats

i get this

Not Found

The requested URL /stats/domain.com was not found on this server.
Apache Server at localhost Port 80


So i guess the proxy is working but there must be a path issue?

Smile


robmorin Wrote:Ok so what should the url be to the stats for a domain then?

http://www.domain.com/stats ??
Thanks for that explanation, i appreciate it!

Rob..

ephigenie Wrote:we have awstats on a cgi-bin at localhost and proxy all accesses to it then.

That way we come around the limitations of suexec - without opening an security hole.
10-26-2007 05:13 AM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #10
RE: Awstats not working... i think
Ok now where getting somewhere now i see this...

Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.

Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

Thanks or replying so quickly
Smile

Rob..

BeNe Wrote:
Quote:http://www.domain.com/stats ??
Thanks for that explanation, i appreciate it!
Yes, exactly this but you need the "/" on the end like this:
Code:
http://www.domain.com/stats/

Greez BeNe
10-26-2007 05:24 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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