Re: Redirect on acl code

From: Oskar Pearson <oskar@dont-contact.us>
Date: Sat, 21 Jun 1997 17:32:32 +0200

Nigel Metheringham writes:
> I see that there is some code in squid to allow you to generate a redirect
> when an ACL matches (so that you can tailor the error messages etc).
>
> Would there be a problem about modifying that code to add some information
> about the URL that caused the redirect into the redirect URL, ie
>
> if the URL that caused the acl match was
> http://www.xxx.com/
>
> Currently a redirect would be made to just the URL you speified in the
> config file, ie
> Location: http://local.error/message/url
>
> I'd like to be able to do something like this:-
> Location: http://local.error/message/url?url=http://www.xxx.com/
Netscape proxy allows something like this...

When a URL is blocked (or something like that) it sends a redirect to
another page... I think it's a good idea...

Oskar
Received on Sat Jun 21 1997 - 08:35:35 MDT

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