buenas amigos estoy en las misma probando el sqstat tengo la version
1.20 en debian 9 con php7 y squid 3.5
y me sale este error
errno=4; $squidclass->errstr="Error in the configuration file.".
'Please, specify $squidhost['.$config.']/$squidport['.$config.']';
$squidclass->showError(); exit(4); } for($i=0;$ierrno=4;
$squidclass->errstr="Error in the configuration file.
". '"group_by" can be only "username" or
"host"';
$squidclass->showError(); exit(4); } } else{ $squidclass->errno=4;
$squidclass->errstr="Configuration file not found.". "Please copy file
config.inc.php.defauts to config.inc.php and edit configuration
settings."; $squidclass->showError(); exit(4); } // loading hosts file
$hosts_array=array(); if(isset($hosts_file)){ if(is_file($hosts_file)){
$handle = @fopen($hosts_file, "r"); if ($handle) { while
(!feof($handle)) { $buffer = fgets($handle, 4096); unset($matches);
if(preg_match('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})[
\t]+(.+)$/i',$buffer,$matches)){ $hosts_array[$matches[1]]=$matches[2];
} } fclose($handle); } else { $squidclass->errno=4;
$squidclass->errstr="Hosts file not found.". "Cant read
'$hosts_file'.";
$squidclass->showError(); exit(4); } } else { $squidclass->errno=4;
$squidclass->errstr="Hosts file not found.". "Cant read
'$hosts_file'.";
$squidclass->showError(); exit(4); } }
if(!$squidclass->connect($squidhost,$squidport)) {
$squidclass->showError(); exit(1); }
$data=$squidclass->makeQuery($cachemgr_passwd); if($data==false){
$squidclass->showError(); exit(2); } // print_r($data);
if(!isset($use_js)) $use_js=true; echo
$squidclass->makeHtmlReport($data,$resolveip,$hosts_array,$use_js); ?>
ya le cambie el fichero y nada.
El 22/2/2019 a las 15:40, Leonardo Yanes Batista escribió:
aqui esta para todo el q lo necesite...
----- Mensaje original -----
De: "Jose Joaquin Ruiz Silva" <joaquin(a)fag.reduim.cu>
Para: "gutl-l" <gutl-l(a)listas.jovenclub.cu>
Enviados: Viernes, 22 de Febrero 2019 15:34:16
Asunto: [Gutl-l] Re: Consumo proxy web
intento entrar a la pagina del parche y no me carga alguien puede enviermelo
El 22/2/2019 a las 15:36, Leonardo Yanes Batista escribió:
> en mi caso.. como utilizo SquidGuard para realizar los filtros de contenido.. SI..
tuve q hacerle algunas excepciones al Squid... tambien tuve q subirle un supuesto parche
que lanzaron.. para que pueda trabajar con las nuevas versiones de SquidCache. Nada del
otro mundo.. sobre-escribir el archivo sqstat.class.php con el supuesto parche.. y listo.
>
> ----- Mensaje original -----
> De: "Alberto José García Fumero" <alberto(a)ettpartagas.co.cu>
> Para: "gutl-l" <gutl-l(a)listas.jovenclub.cu>
> Enviados: Viernes, 22 de Febrero 2019 15:31:28
> Asunto: [Gutl-l] Re: Consumo proxy web
>
> El vie, 22-02-2019 a las 15:28 -0500, Leonardo Yanes Batista escribió:
>> ...mmm yo lo tengo funcionando con:
>> Squid Cache: Version 3.5.23
>> Debian: Debian 9.5
>>
>>
> ¿Tuviste que hacerle algo especial?
_______________________________________________
Gutl-l mailing list -- gutl-l(a)listas.jovenclub.cu
To unsubscribe send an email to gutl-l-leave(a)listas.jovenclub.cu
_______________________________________________
Gutl-l mailing list -- gutl-l(a)listas.jovenclub.cu
To unsubscribe send an email to gutl-l-leave(a)listas.jovenclub.cu