Saturday, April 22, 2006

SRG: Squid reporting tool

Some of my friends ask me how they can check sites on Squid cache. At the first time I little bit confuse, not because of I cannot do it but because there are a lot of program for displaying Squid log. After search and test, I decide to use SRG (found on freshmeat but install using synaptic). Just do:

# sudo apt-get install srg

after finish, edit your /etc/srg/srg.conf:

log_file "/var/log/squid/access.log"

and left the other as default. Then, to make it viewable from web browser do:

# sudo srg -C /etc/srg/srg.conf

Finally, open your web browser and type http://127.0.0.1/srg_reports/. Try it!

0 Comments:

Post a Comment

<< Home