I don't think you really want url_regex here.. other than this it looks
fine, assuming ofcourse that you insert the http_access line before
where you allow your users access..
Regards
Henrik
mån 2003-01-13 klockan 15.51 skrev trainier@kalsec.com:
> I just used a regular expression parameter on an acl.  Then created a 
> banned.list that stored url's.
> Here's the acl:
> 
> acl banned_list url_regex -i "/etc/squid/banned.list"
> http_access deny banned_list
> 
> Then, of course, /etc/squid/banned.list is the file that has all the urls 
> in it.
> Note, I'm not using subdomains in the banned.list file.  ie: 
> http://www.google.com
> would be entered as google.com in the banned.list file.  Just good 
> practice.
> 
> Tim Rainier
> UNIX/Linux Systems Administrator, Kalsec INC.
> Web:    http://www.kalsec.com
> Email:  trainier@kalsec.com
> 
> 
> 
> 
> Brett Roberts <brett@centralmanclc.com>
> 01/13/2003 09:28 AM
> 
>  
>         To:     'frank chibesakunda' <fchibesakunda@zesco.co.zm>, 
> squid-users@squid-cache.org
>         cc: 
>         Subject:        RE: [squid-users] Restricting Porn sites
> 
> 
> Are you using a web filter eg Squidguard ?
> 
> -----Original Message-----
> From: frank chibesakunda [mailto:fchibesakunda@zesco.co.zm]
> Sent: 13 January 2003 14:23
> To: squid-users@squid-cache.org
> Subject: [squid-users] Restricting Porn sites
> 
> 
> hi
> 
> How do i restrict porn sites in squid.. i tried it in webmin twice but 
> this 
> kept on corrupting my squid forcing me to re4build it.
> 
> F
> 
> 
Received on Mon Jan 13 2003 - 10:35:18 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:39 MST