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

From: Rost, Werner <Werner.Rost@dont-contact.us>
Date: Mon, 2 Jul 2001 15:17:00 +0200

The hint of Henrik works fine:

http_access deny !noporn porn

regards

Werner Rost, KIR
Mannesmann Boge GmbH

Tel.: 0228/3825 420
Fax: 0228/3825 398

-----Ursprüngliche Nachricht-----
Von: Henrik Nordstrom [mailto:hno@hem.passagen.se]
Gesendet am: Samstag, 30. Juni 2001 00:46
An: Rost, Werner
Cc: squid-users@squid-cache.org
Betreff: Re: AW: [squid-users] Access Denied because of a "porno list"

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
-----------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted Mails can NOT be checked !
***
Diese Mail wurde auf Viren ueberprueft
Hinweis: Verschluesselte Mails koennen NICHT geprueft werden!
------------------------------------------------------------
Received on Mon Jul 02 2001 - 07:21:14 MDT

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