I am using awstat on Debian (Lenny) with ISPCP OMEGA, Apache and hosting multiple sites.
One of my virtual domains works pefectly and the others seems to display a Internal Server Error "No Address Given" when I logon to the awstats page??
Any ideas where I can start troubleshooting? Can't really find any problems? I use Modsecurity too but if one virtual domain works why do all the others fail?
There are many reasons why one can get an “Internal Server Error”. It is hard to help with so little information. Please give more detail about the configuration.
Are you calling the same awstats.pl for all domains or is it a different copy for each domain ? Are all the config files in the same directory ? Are the AWStats data files generated for all these domains ?
It is probably a permission problem, but it could be a time-out issue if the “Internal Server Error” does not come up immediately. If this is permission related, double check the permissions of all files and directories involved. If this is a matter of time-out, it would only produce the time-out for domains with very high traffic.
Can you give an example of the URL you are using to view a report ?
Don't think its a time out issue as the website that always works has no problems. All other virtual sites fail. Only one works.
Comes up fast yes.
An example of the URL would be: http://www.mydomain.com/stats I then get prompted for a user authentication. I enter the correct details and then I get straight away the Internal Error “no ip issued”..
Where do you get this “no ip issued” ? This sounds like an address resolution problem (when converting the domain name to its IP address). This is weird as you say that you get prompted for the user name and password before. Are you redirected to a new address after the authentication (new address coming up in the address bar) ?
By the way, “no address given” usually means that no email address was defined as destination for error reports. So this message is not directly related to your AWStats problem.
Sorry I missed typed. ”No ip issued” is ” no address given”
I see ISPCP creates a security group called “statistics” there I define the usernames that have access to the awstats for the virtual domain. That's why there is a logon window when I enter in http://www.mydomain.com/stats
No new address coming up all the right domain details.
I have no practical experience with ispCP, but I believe that we are dealing here with an ispCP configuration issue and not with an AWStats configuration issue.
Did you post your question on an ispCP forum already ? They should probably be more helpful.
”phase:2,t:none,t:urlDecodeUni, t:lower case, deny,log,auditlog,status:500,msg: 'URL file extension is restricted by po licy', severity:'2',id:'960035',tag:'PO LICY/EXT_RESTRICTED'”
I've not worked out how to only exclude the awstat info. Once I do I'll post a reply.