Dave Coventry wrote:
> 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.
You require Squid 2.6+ for that directive to work with external URI.
Amos
-- Please use Squid 2.6STABLE17+ or 3.0STABLE1+ There are serious security advisories out on all earlier releases.Received on Thu Feb 28 2008 - 06:54:59 MST
This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:06 MST