Search squid archive

possibly off-topic: squid-Guard config issue

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

 



 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



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

  Powered by Linux