Re: [squid-users] location_rewrite_program in 3.1

From: Amos Jeffries <>
Date: Tue, 23 Nov 2010 00:27:01 +0000

On Mon, 22 Nov 2010 12:11:18 -0600, Dan Johansson
<> wrote:
> Hi all,
> It appears that location_rewrite features have not been ported to 3.x. I

> also can not find any mention of plans to get it ported into 3.x. Since
> my project requires that I use 3.1.x due to other features available in
> that version. So my questions are as follows:
> 1. Is there another way to rewrite the domain (Location header) in
> 301/302 redirects? (My guess is no, but creative solutions would be
> appreciated)

eCAP could do it as a workaround. Technically with squid focus on not
altering requests itself this is theoretically the correct way to do it.

long-term plans are to port location_rewrite eventually unless someone
comes up with a fast eCAP plugin for it.

> 2. Does anyone have an existing patch for 3.1.x to add the
> location_rewrite_program features to 3.1.x branch that they would be
> willing to provide/licence?
> 3. If there are no existing options, then we may be willing to sponsor a

> port of the location_rewrite features to 3.1 or 3.2. If you are
> interested in doing so, please contact me off the list.

If anyone *does* have a patch please submit it to squid-dev ASAP.
We are also happy to advertise third-party eCAP plugins in the wiki.

Thanks for the sponsorship offer Dan.

Received on Tue Nov 23 2010 - 00:27:10 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 23 2010 - 12:00:02 MST