Re: [squid-users] error pages on acl deny

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Mon, 17 Oct 2005 09:22:02 +0200

On 17.10 12:14, Metal Gear wrote:
> Hi all, i m using following acls to block users using Firefox version
> lesser than 1.0.7 and giving out an customized error page.
>
> acl browserblocker browser !Firefox/1.0.7
> http_access deny browserblocker mydomain
> deny_info ERR_CUSTOM_DENIED browserblocker
> http_access allow mydomain
>
> I am using squid 2.5 stable 9 on redhat 9
>
> i copied the ERR_ACCESS_DENIED as ERR_CUSTOM_DENIED and changed it
> completely in folder /usr/local/squid/share/errors/English but still i am
> getting the Access Denied pages i.e. ERR_ACCESS_DENIED, can someone tell me
> why this is happening, any help, suggestion, link would be appreciated

maybe you should change

acl browserblocker browser !Firefox/1.0.7
http_access deny browserblocker mydomain

to

acl browserblocker browser Firefox/1.0.7
http_access deny !browserblocker mydomain

(or the latter to: http_access deny mydomain !browserblocker)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
On the other hand, you have different fingers. 
Received on Mon Oct 17 2005 - 01:22:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST