ispCP - Board - Support
[Solved] Awstats not working... i think - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [Solved] Awstats not working... i think (/thread-1597.html)

Pages: 1 2


[Solved] Awstats not working... i think - robmorin - 10-24-2007 12:52 AM

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


RE: Awstats not working... i think - robmorin - 10-24-2007 01:35 AM

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


RE: Awstats not working... i think - raphael - 10-24-2007 09:28 AM

Quote:of course that makes no sense at all... what should it be?
ever heard of mod_proxy?


RE: Awstats not working... i think - robmorin - 10-25-2007 10:29 PM

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?



RE: Awstats not working... i think - ephigenie - 10-26-2007 03:25 AM

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.


RE: Awstats not working... i think - robmorin - 10-26-2007 04:39 AM

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.



RE: Awstats not working... i think - robmorin - 10-26-2007 04:50 AM

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.



RE: Awstats not working... i think - BeNe - 10-26-2007 04:50 AM

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


RE: Awstats not working... i think - robmorin - 10-26-2007 05:13 AM

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.



RE: Awstats not working... i think - robmorin - 10-26-2007 05:24 AM

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