deny_info questions

From: Stephen Anderson <stephena@dont-contact.us>
Date: Fri, 5 Mar 1999 10:41:12 -0600 (CST)

Hi. I'm having trouble getting the deny_info options to work and I was
hoping someone could help me out. In my squid.conf I have the following
(exerpt)
acl sexdst dst "sexdst.txt"
acl sexdom dstdomain "sexdom.txt"
acl sexkey url_regex "sexkey.txt"
acl notsex url_regex "notsex.txt"

http_access deny sexkey !notsex
http_access deny sexdom
http_access deny sexdst
http_access allow all

deny_info ERR_SEX_DENIED sexkey
deny_info ERR_SEX_DENIED sexdom
deny_info ERR_SEX_DENIED sexdst

Of course, I have placed an appropriate file in
/usr/local/squid/etc/errors called ERR_SEX_DENIED. The problem is that
with this configuration, when I go to someplace prohibited by one of the
sex checks, the standard ERR_ACCESS_DENIED html page is displayed instead
of the ERR_SEX_DENIED page. What gives? Thanks!

                                       Stephen Anderson
                                     <stephena@HiWAAY.net>
Received on Fri Mar 05 1999 - 09:32:37 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:09 MST