[squid-users] possibly off-topic: squid-Guard config issue

From: DataZap <az@dont-contact.us>
Date: Thu, 16 Aug 2007 12:36:12 -0700 (PDT)

 Hi,

 I have installed a squid server a while ago to use as a content filter. I
 have been working on a custom blocklist. This seemed to go well until I
 installed the different lists. I would like to have 2 different redirect
 urls - one for blocked sites and the other for advertising sites. This is
 what my config looks like now:

 #
 # CONFIG FILE FOR SQUIDGUARD
 #

 dbhome /usr/local/etc/squidguard/db
 logdir /var/squidguard/log

 dest blocked {
     domainlist blocked/domains
     expressionlist blocked/expressions
 }

 dest ads {
     domainlist ads/domains
 }

 acl {
         default {
                 pass !blocked !ads all
                 redirect http://localhost/
         }
  }

 Is there anyway that I could do something like:

 acl {
         default {
                 pass !blocked all
                 redirect http://localhost/blocked.html
         }
         default {
                 pass !ads all
                 redirect http://localhost/images/ads.jpg
         }
  }

 Thanks,
 Al
Received on Thu Aug 16 2007 - 13:36:15 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT