
root@olivos:~# apt-cache search squid-cgi squid-cgi - A full featured Web Proxy cache (HTTP proxy) - control CGI root@olivos:~# apt-get install squid-cgiConfiguramos el apache2 de cualquier de estas dos formas:
primera:
root@olivos# vim /etc/apache2/conf.d/squid.conf <Location /Squid/cgi-bin/cachemgr.cgi> order allow,deny allow from all </Location>segunda:
ScriptAlias /Squid/cgi-bin/ /usr/lib/cgi-bin/ <Location /Squid/cgi-bin/cachemgr.cgi> order allow,deny allow from all </Location>Agregamos al squid la siguiente opción:
cat >> /etc/squid/squid.conf << "EOF" acl localhost src 127.0.0.1/32 acl administrador dst 172.16.7.133 http_access allow manager localhost http_access allow manager administrador http_access deny manager EOFPaso Final: Abres tu navegador
http://TU_SERVER_IP/Squid/cgi-bin/cachemgr.cgi?

No hay comentarios:
Publicar un comentario