ispCP - Board - Support
OK...it's me again...a problem about awstats - 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: OK...it's me again...a problem about awstats (/thread-6888.html)



OK...it's me again...a problem about awstats - Landmark - 06-05-2009 05:22 AM

all features are well running except awstats.

when i access http://xxxxxx/stats/ (xxxxxx means a virtual host) it ends up with error 500.

in the error log it says:

Quote:[warn]proxy: No protocol handler was valid for the URL /stats/. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

and "Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

ok....any ideas?????


RE: OK...it's me again...a problem about awstats - robbo007 - 06-18-2009 10:48 PM

I have the same problem. I get prompted for the logon and password, enter it in and then I get an error 500?

Only happens for one of my domains???

Rob


RE: OK...it's me again...a problem about awstats - uwe - 06-22-2009 01:51 AM

i have the same problem, but nothing helpful in the logs, this happens for all domains ... im running ispcp stable on debian etch


RE: OK...it's me again...a problem about awstats - BeNe - 06-22-2009 05:25 AM

For all or for one Domain ?
Proxy module correct loaded in Apache ?

Greez BeNe


RE: OK...it's me again...a problem about awstats - uwe - 06-22-2009 05:39 AM

(06-22-2009 05:25 AM)BeNe Wrote:  For all or for one Domain ?
Proxy module correct loaded in Apache ?

Greez BeNe

yes, its for all domain, i just got it fixed, among the things i did was installing libapache2-mod-proxy-html (im not sure its relevent) and i changed the proxy rules order here are those that worked for me:

RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$1 [P]
RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P]
RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R]

compared to the ones in the trunk:

RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P]
RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$1 [P]
RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R]

Also added this to proxy.conf for apache:
Allow from 127.0.0.1 myhost.domain.tld.local myhost.domain.tld

i need to start reverting these changes and try to pin point it ...


RE: OK...it's me again...a problem about awstats - BeNe - 06-22-2009 05:53 AM

I mean that this was the main thing:
Code:
Also added this to proxy.conf for apache:
Allow from 127.0.0.1 myhost.domain.tld.local myhost.domain.tld

Fine so you got it running your own way Smile

Greez BeNe


RE: OK...it's me again...a problem about awstats - uwe - 06-22-2009 06:28 AM

well, if i return the sequence of proxy entries , it breaks again ... but error 403 not 500 ... as previous ... ill investigate it further and maybe start over from scratch , and libapache2-mod-proxy-html is irrelevant ?