Search squid archive

RE: [SPAM] - [squid-users] possibly off-topic: squid-Guard config issue - Bayesian Filter detected spam

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

 



You could put the redirector urls in the sources (dest)
 dest blocked {
     domainlist     blocked/domains
     expressionlist blocked/expressions
	redirect http://localhost/blocked.html
 }

 dest ads {
     domainlist     ads/domains
	redirect http://localhost/images/ads.jpg
 }


This is how mine are set up and it works fine for me. 

-----Original Message-----
From: DataZap [mailto:az@xxxxxxxxxxx] 
Sent: Thursday, August 16, 2007 3:36 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject: [SPAM] -  possibly off-topic: squid-Guard config
issue - Bayesian Filter detected spam

 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





This email and any files transmitted with it are intended solely for the use of the individual (recipient) or entity addressed at recipient. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



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

  Powered by Linux