I've successfully installed awstats but now i am having some troubles. Whenever i try to view the index.php it says 500 internal server error and if i look in my log i am getting [error] an unknown filter was not added: PHP can anyone help?
Did you add the php extension to apache configuration file? Does this problem happen also to other php files on the same domain or just awstat?
I guess you looked in the wrong logfile. You must have a look in the error log of the website and not in the global error log to see what caused the 500er error.
Similar problem with awstat I have installed awstats too and if I try get www.domain.com/awstats I am asked for username and password and afterthat I get error 403 in error log is: [Tue Aug 07 16:08:24 2007] [error] [client 195.47.85.81] client denied by server configuration: /usr/share/awstats/wwwroot/cgi-bin/ I tried change /etc/httpd/conf.d/awstatsreport.conf line "Allow from 127.0.0.1" to "Allow from All", but it doesn't help I run it on Fedora and I did perfect setup Can my anyone help?
It's better but not goal After this change I can get statistics on http://www.domain.com/awstats/awstats.pl but on http://www.domain.com/awstats/ a get error 403 and in error log is I think that it's mean that I'm forwarded into /home/admispconfig/ispconfig/tools/awstats/wwwroot/cgi-bin/ instead get index.php from /var/www/web10/web/awstats/ Have anyone any idea? P.S. If I copy files from /awstats into another directory it shows well Thanks for any help Tom
TomTom80 if you can see the logs with http://www.domain.com/awstats/awstats.pl I think you are not using the AWStats with static pages as described in the "HowTo Install AWStats With Some PlugIns On A Server With ISPConfig" Page located at http://howtoforge.com/awstats_ispconfig. I don't know the other one (dynamic stats) so I can not help you, but you might post your question on this thread http://howtoforge.com/forums/showthread.php?t=8017&highlight=awstats bswinnerton did you enable php for this website? I know it was kind of stupid that I made a static stats script which requires something dynamic (PHP). But I will work this out for the next version. It was sitting on my todo list for quite some time, but I just didn't found the time yet to do it. Regards Jonas
I'm not sure if i enabled php for the site, do you mean through ispconfig? If so, yes php scripts is checked. Plus my homepage is in php, so I would believed that it is. But I cannot get to awstats.pl like everyone else can, I still get the 500 error.
It's done Hi Jonas, you helped me alot I'm not sure what is reason of my configuration (probably I have selected during instalation), but I have /etc/httpd/conf.d/awstats.conf which overtake control on all /awstats ..... I have renamed this file to awstats.conf.STOP and restart httpd and after this it shows generated files Tom
Okay so my homepage is in php but i still cannot view mysite.com/awstats. I get a 500 error from ispconfig. Can someone please help?
Ah ha. I was looking at the wrong error log, when you referred me to that one, i was able to fix the problem. Thanks!
Strange, maybe I have a bug in my last package, have a look at this thread http://howtoforge.com/forums/showthread.php?t=14499&highlight=awstats Which distribution do you use?
Okay i figured it out, i changed my apache2.conf to say Alias /icon "/home/admispconfig/ispconfig/tools/awstats/wwwroot/icon/" And then realized that didn't do anything so i found out that the bars are actually looking in the root directory /icon, so i just made a link to the awstats folder in admispconfig, and that solved it. Maybe it was my fault, but should it have done that itself?