Search squid archive

squid rewrite & squidguard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, I have Squid 3.1.3 running on a server very happily. I am
trying to get squidguard to  run with it.

So at the top of the squid.conf file i put:

url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidguard.conf

Then squidguard has:

#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /var/lib/squidguard
logdir /var/log/squid


dest ads {
        domainlist      blacklists/ads/domains
        urllist         blacklists/ads/urls
}

acl {
        default {
                pass    !ads all
                redirect http://proxy.mydomain.com/block.html
                }
}

When running a local test, like: echo "http://www.cafzone.net
192.168.6.66/ - - GET" | squidGuard -c /etc/squid/squidguard.conf -d
It works accordingly:

2010-05-31 16:17:31 [2785] squidGuard 1.3 started (1275319051.335)
2010-05-31 16:17:31 [2785] squidGuard ready for requests (1275319051.340)
2010-05-31 16:17:31 [2785] source not found
2010-05-31 16:17:31 [2785] no ACL matching source, using default
http://proxy.cp.mydomain.com/block.html 192.168.6.66/- - -
2010-05-31 16:17:31 [2785] squidGuard stopped (1275319051.341)

But when running within Squid, it does not seem to be taking it? Did I
miss anything in the squid.conf file ? I looked online and couldn't
spot any error.

Thanks in advance,
Steph


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux