Re: deny_info

From: Jens-S. Voeckler <voeckler@dont-contact.us>
Date: Wed, 9 Aug 2000 14:09:03 +0200 (CEST)

On Wed, 9 Aug 2000, Igor Plisco wrote:

]I found in Internet documentation the following use of statement
]deny_info in squid.conf:
]
]deny_info http://www.mydomain.com/somepage.html bad_url

That is Squid-1 syntax.

]errorTryLoadText:
]'/var/lib/squid/etc/errors/http://www.mydomain.com/somepage.html': (2)
]No such file or directory
]
]Is there a way to load some URL when acl is applied?

No, deny_info mentiones an error page (which you supplied in the
~squid/etc/errors folder), e.g.:

        acl dst_vpn dst 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
        ...
        http_access deny dst_vpn
        ...
        deny_info ERR_VPN_NONSENSE dst_vpn

Le deagh dhùrachd,
Dipl.-Ing. Jens-S. Vöckler (voeckler@rvs.uni-hannover.de)
Institute for Computer Networks and Distributed Systems
University of Hanover, Germany; +49 511 762 4726
Received on Wed Aug 09 2000 - 06:12:13 MDT

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