Re: [squid-users] Re: can squid redirect the browser?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 31 Oct 2009 16:43:41 +1300

Brian J. Murrell wrote:
> On Thu, 2009-10-29 at 23:58 +0100, Henrik Nordstrom wrote:
>> Either using url_rewrite_program and an url rewriter/redirector helper,
>> or by using http_access deny + deny_info.
>
> Ahhh. deny_info is interesting. I guess there is no manipulating the
> url that caused the deny, i.e. to customize the 302.
>
> So, writing a deny such that if the URL denied was
> http://foo.bar.com/some/path/index.hml, I can take the path portion and
> do a 302 redirect to http://internal.my.domain.com/<same path as denied
> url>.
>
> Perhaps that's going to be left to the domain of redirector helpers.
>

I got that going a few weeks ago. It's scheduled for 3.2. The patch
should still apply easily to 3.1.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.14

Received on Sat Oct 31 2009 - 03:44:10 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 31 2009 - 12:00:03 MDT