1. Download file http://www.sourceforge.net/projects/squidguardmgr/
2. Kopi filenya ke direktori /usr/local/src/
Compile:
[root@tester src]# tar xfvz squidguardmgr-1.12.tar.gz
[root@tester src]# cd squidguardmgr-1.12
[root@tester squidguardmgr-1.12]# perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[root@tester squidguardmgr-1.12]# perl Makefile.PL
Path to squidGuard configuration file? [] /usr/local/squidGuard/squidGuard.conf
Do you use c-icap SquidClamav v6.x services? [no] no
Path to squidclamav program? [off] off
What is the user (uid) running Squid or SquidGuard? [squid] squid
Writing Makefile for squidguardmgr
Done...
Now type 'make && make install'
[root@tester squidguardmgr-1.12]# make && make install
cc -o squid_wrapper/squid_wrapper squid_wrapper/squid_wrapper.c
sh install_all.sh
-----------------------------------------------------------------------------
1. Modify Apache httpd.conf to change the running uid and gid to squid user.
2. Modify your httpd.conf to allow access to CGI scripts like follow:
Alias /squidguardmgr /var/www/squidguardmgr/
Options +ExecCGI
AddHandler cgi-script .cgi
DirectoryIndex squidguardmgr.cgi
Order deny,allow
Deny from all
Allow from 192.168.1.24
3. If necessary, set additional grants to Squidguard Manager in httpd.conf.
Restart and ensure that httpd is running.
4. Browse to http://proxy.host.dom/squidguardmgr/ to ensure that things are
working properly.
For more information, see http://squidguardmgr.darold.net/.
-----------------------------------------------------------------------------
No comments:
Post a Comment
Silahkan beri komentar ya.. :-)