On Wednesday 26 October 2005 11:36, Metal Gear wrote: > hi guys i am now using the following acls i.e. i want different error > pages for different acls but i m always having a same error pages i.e. > of 'ERR_ACCESS_DENIED'. i think its priority is higher than the > second one. > > acl blockedsites url_regex "/usr/local/squid/etc/sites/block" > http_access deny blockedsites mydomain > deny_info ERR_ACCESS_DENIED blockedsites mydomain > > acl browserblocker browser -i 1.0.7 > http_access deny !browserblocker mydomain > deny_info ERR_OLD_BROWSER_DENIED !browserblocker mydomain > > http_access allow mydomain > > how will i get the different error page? You need to define the deny_info before you use it in http_access. Just swap the lines. Christoph -- ~ ~ ".signature" [Modified] 1 line --100%-- 1,48 All