View Single Post
  #103  
Old 8th October 2009, 16:37
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 196
Thanks: 66
Thanked 13 Times in 11 Posts
Default

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:

/root/ispconfig/scripts/lib/config.lib.php

I comented out:

Code:
  ////////////// 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.

SupuS
Reply With Quote