ok, I have dev 2.3.3 and awstats installed it has been over 24 hours, actually a few weeks and I keep getting 404 not found when i try to go to http://domain/stats or http://domain/awstats I have tried https://domain.... any ideas
Some days back I found out that AWStats was not working in 2.3.3. This is due because the changes in SVN were overwritten. There is no easy solution for this problem, Till is looking at which other files has been overwritten. 2.3.4 will surely correct this problem. Sorry for the inconvenience.
JNSC thanks for the info. Is there a way to get webalizer working again in 2.3.3 so my clients who are having a fit over not having stats will shut up.
You can add this lines to /root/ispconfig/scripts/lib/config.lib.php Code: ////////////// Web Statistics //////////////////// $stats_alias = ""; if($web["web_stats"] == "awstats"){ $stats_alias = "Alias /stats \"".$document_root."/awstats\""; } elseif ($web["web_stats"] == "webalizer") { $stats_alias = "Alias /stats \"".$document_root."/webalizer\""; } ////////////// END of Web Statistics //////////////////// Just after : Code: if($apache_version == 1){ $error_alias = ""; } if($apache_version == 2){ $error_alias = "Alias /error/ \"".$document_root."/error/\""; } Just before : Code: ////////////// Error Pages //////////////////// if($web["web_individual_error_pages"]){ You also have to uncomment this line in root/ispconfig/isp/conf/vhost.conf.master Code: # {STATSALIAS}
ok, I have done all that and forced the cron job with /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php now how do I access the stats? using http://mydomain.com/awstats still gives me a page not found
you have to use /stats you can check in your apache conf file that the alias has been created for your website.
yes it did create the alias in the httpd conf. Now it kills httpd conf, so i had to go back and comment out every instance of {STATSALIAS} in httpd.conf to get it running again