*Make sure universe is included in the /etc/apt/sources.list
1] Install the CGI for squid
sudo aptitude install squid-cgi
2] Edit /etc/apache-perl/srm.conf to contain
ScriptAlias /Squid/cgi-bin/ /usr/lib/cgi-bin/4] Edit /etc/squid/squid.conf to contain
3] Edit /etc/apache-perl/access.conf to contain
<Location /Squid/cgi-bin/cachemgr.cgi>
order deny,allow
deny from all
allow from 192.168.6.0/255.255.255.0
</Location>
cachemgr_passwd passwordher all
5] Restart squid and apache
sudo squid -k reconfigure && sudo /etc/init.d/apache-perl restart
Reference: http://www.gymradbn.sk/doc/squid-cgi/cachemgrfaq.html
No comments:
Post a Comment