[squid-users] Redirection on error.

From: Dave Coventry <dgcoventry@dont-contact.us>
Date: Thu, 28 Feb 2008 14:28:08 +0200

Hi.

I need to redirect a user to a log on page if he is refused access.

I have changed the ERR_ACCESS_DENIED page to the required page, but
any navigation links are built around the originally requested URL.
For example, if the user requests www.toyota.co.za and is denied
access by my (transparent) proxy, Squid shows the correct page but
then attempts to get the Perl CGI from
http://www.toyota.co.za/authenticate.cgi?username=fred.

I have also tried to use the "deny_info err_page_name acl" as follows:

acl lan src "/usr/local/squid/etc/acl"
deny_info http://192.168.60.254 lan

but this does not work either.
Received on Thu Feb 28 2008 - 05:28:10 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:06 MST