ya amigos gracias ya resolvi cambien una cosa en la configuracion.Esto por
/* uncomment next line if you want to use hosts-like file.
See hosts.txt.dist. */
$hosts_file[0]='/home/user/hosts.txt'
/* Group users by hostname - "host" or by User - "username". Username
work only
with squid 2.6+ */
$group_by[0]='hosts';
Por:
/* uncomment next line if you want to use hosts-like file.
See hosts.txt.dist. */
/* Group users by hostname - "host" or by User - "username". Username
work only
with squid 2.6+ */
$group_by[0]='hosts';
$hosts_file[0]='/home/user/hosts.txt'
El 25/2/2019 a las 07:26, Jose Joaquin Ruiz Silva escribió:
buenos amingos ya me quita ese error ahora solo aparece en blanco la
pagina no me muestra nada. Esta es la configuracion que tengo.
/* proxy settings */
/* Squid proxy server ip address or host name */
$squidhost[0]='172.17.9.2';
/* Squid proxy server port */
$squidport[0]=3128;
/* cachemgr_passwd in squid.conf. Leave blank to disable authorisation */
$cachemgr_passwd[0]="";
/* Resolve user IP addresses or print them as numbers only [true|false] */
$resolveip[0]=true;
/* uncomment next line if you want to use hosts-like file.
See hosts.txt.dist. */
$hosts_file[0]='/home/user/hosts.txt'
/* Group users by hostname - "host" or by User - "username". Username
work only
with squid 2.6+ */
$group_by[0]='hosts';
El 22/2/2019 a las 17:29, Eriel Perez escribió:
>
> aqui estoy mirando en esta pagina que encontre:
>
>
>
http://samm.kiev.ua/sqstat/
>
>
> La version es la 1.20?
>
> o existe otras versiones mas?
>
>
> On 2/22/2019 5:25 PM, Eriel Perez wrote:
>> no sabia eso de las actualizaciones.
>> la verdad que hoy no tuve tiempo de probar esto.
>> pero la semana próxima veré si lo implemento. ya tengo aquí el
>> fichero que enviaron …
>>
>> Slds
>>
>>
>>> On Feb 22, 2019, at 5:02 PM, Leonardo Yanes Batista
>>> <informatico(a)alficsa.co.cu <mailto:informatico@alficsa.co.cu>>
wrote:
>>>
>>> tambien vale aclarar.. que si no tienes PHP instalado.. obviamente
>>> esta aplicacion no la vas a poder utilizar.. tienes PHP ya instalado?
>>>
>>> ------------------------------------------------------------------------
>>> *De: *"Jose Joaquin Ruiz Silva" <joaquin(a)fag.reduim.cu
>>> <mailto:joaquin@fag.reduim.cu>>
>>> *Para: *"gutl-l" <gutl-l(a)listas.jovenclub.cu
>>> <mailto:gutl-l@listas.jovenclub.cu>>
>>> *Enviados: *Viernes, 22 de Febrero 2019 15:56:52
>>> *Asunto: *[Gutl-l] Re: Consumo proxy web
>>>
>>> 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 togutl-l-leave(a)listas.jovenclub.cu
>>>
>>>
>>> _______________________________________________
>>> Gutl-l mailing list --gutl-l(a)listas.jovenclub.cu
>>> To unsubscribe send an email togutl-l-leave(a)listas.jovenclub.cu
>>>
>>>
>>> _______________________________________________
>>> Gutl-l mailing list -- gutl-l(a)listas.jovenclub.cu
>>> <mailto:gutl-l@listas.jovenclub.cu>
>>> To unsubscribe send an email to gutl-l-leave(a)listas.jovenclub.cu
>>> <mailto:gutl-l-leave@listas.jovenclub.cu>
>>>
>>> *IMPORTANTE:* El contenido de este correo electrónico y los
>>> archivos adjuntos son confidenciales. Está estrictamente prohibido
>>> compartir cualquier parte de este mensaje con terceros, sin el
>>> consentimiento por escrito del remitente. Si recibió este mensaje
>>> por error, responda a este mensaje y continúe con su eliminación,
>>> para que podamos asegurarnos de que no se produzcan errores en el
>>> futuro. Este mensaje ha sido analizado por ClamAV antivirus y se
>>> considera totalmente libre de amenazas.
>>>
>>>
>>> _______________________________________________
>>> Gutl-l mailing list -- gutl-l(a)listas.jovenclub.cu
>>> <mailto:gutl-l@listas.jovenclub.cu>
>>> To unsubscribe send an email to gutl-l-leave(a)listas.jovenclub.cu
>>> <mailto:gutl-l-leave@listas.jovenclub.cu>
>>
>
> _______________________________________________
> Gutl-l mailing list --gutl-l(a)listas.jovenclub.cu
> To unsubscribe send an email togutl-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