View Single Post
Old 8th October 2009, 17:37
SupuS SupuS is offline
HowtoForge Supporter
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts

I tested this version on ISPConfig 2.2.33 and it works as expected... very well

In web configuration is necessary to set NONE in options => webalizer statistics.

I have a lot of webs and I don't want to allow users to change this options so in file:


I comented out:

  ////////////// Web Statistics ////////////////////
  $stats_alias = "";

   if($web["webalizer_stats"] == 2){
     $stats_alias = "Alias /stats \"".$document_root."/awstats\"";
   } elseif ($web["webalizer_stats"] == 1) {
     $stats_alias = "Alias /stats \"".$document_root."/webalizer\"";
If this section is commented out than is not necessary to set options => webalizer statistics. After edit config.lib.php don't forget to reload vhost file for example by changing and saving some web option.

Reply With Quote