Current time: 11-27-2024, 04:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
OK...it's me again...a problem about awstats
Author Message
Landmark Offline
Newbie
*

Posts: 7
Joined: Jun 2009
Reputation: 0
Post: #1
OK...it's me again...a problem about awstats
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?????
06-05-2009 05:22 AM
Find all posts by this user Quote this message in a reply
robbo007 Offline
Junior Member
*

Posts: 136
Joined: Apr 2009
Reputation: 0
Post: #2
RE: OK...it's me again...a problem about awstats
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
06-18-2009 10:48 PM
Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #3
RE: OK...it's me again...a problem about awstats
i have the same problem, but nothing helpful in the logs, this happens for all domains ... im running ispcp stable on debian etch
(This post was last modified: 06-22-2009 01:52 AM by uwe.)
06-22-2009 01:51 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: #4
RE: OK...it's me again...a problem about awstats
For all or for one Domain ?
Proxy module correct loaded in Apache ?

Greez BeNe
06-22-2009 05:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #5
RE: OK...it's me again...a problem about awstats
(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 ...
06-22-2009 05:39 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: #6
RE: OK...it's me again...a problem about awstats
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
06-22-2009 05:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #7
RE: OK...it's me again...a problem about awstats
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 ?
06-22-2009 06:28 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)