Redirect on acl code

From: Nigel Metheringham <Nigel.Metheringham@dont-contact.us>
Date: Fri, 20 Jun 1997 16:00:09 +0100

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/

Would that cause problems for other people....?
Howabout passing the acl name out as well?

        Nigel.

-- 
[ Nigel.Metheringham@theplanet.net   -  Systems Software Engineer ]
[ Tel : +44 113 251 6012                   Fax : +44 113 224 0003 ]
[            Friends don't let friends use sendmail!              ]
Received on Fri Jun 20 1997 - 08:08:09 MDT

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