Re: [squid-users] adding custom headers

From: Stefan Palme <kleiner@dont-contact.us>
Date: Mon, 12 Feb 2007 00:28:47 +0100

On Sun, 2007-02-11 at 13:23 +0100, Matus UHLAR - fantomas wrote:
> On 07.02.07 14:50, Stefan Palme wrote:
> > I have running squid as reverse proxy with a rewrite-program, that
> > rewrites URLs "/abc/1234", "/def/1234" and so on to "/1234". The
> > backend application server only sees the rewritten URL, but I want
> > the application server to know the "original" URL.
>
> Why do you rewrite URL's then?

Our application changes its URL scheme very often. The first version
used /abc/1234 to access a certain object, the second version used
/def/1234 and so on. Since all these URLs are known "in the outside
world" (i.e. google, customers etc.), we want them to work, even if
the current URL scheme is /xyz/1234.

-stefan-
Received on Sun Feb 11 2007 - 16:29:16 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST