Re: AW: [squid-users] Access Denied because of a "porno list"

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 30 Jun 2001 00:45:42 +0200

Duane Wessels wrote:
>
> On Fri, 29 Jun 2001, Rost, Werner wrote:
>
> > Thank you for your help, but this does not work.
> >
> > I created a new file ERR_BOGE_PORNO_DENIED in the errors-directory. Then I
> > changed squid.conf:
> >
> > acl porn url_regex "/usr/local/squid/etc/porno.txt"
> > ....
> > http_access allow manager localhost
> > deny_info ERR_BOGE_PORNO_DENIED porn
> > http_access deny porn !noporn
>
> you might have to rewrite the access lines somewhat. try it like this
>
> http_access allow noporn
> http_access deny porn
> http_access allow <whatever>

or

http_access deny !noporn porn

Why: deny_info mathes the LAST acl used in http_access processing. In
your original http_access line that is noporn.

--
Henrik Nordstrom
Squid Hacker
Received on Fri Jun 29 2001 - 17:08:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:53 MST