Re: [squid-users] adding custom headers

From: Stefan Palme <kleiner@dont-contact.us>
Date: Thu, 22 Feb 2007 08:46:35 +0100

Any hints concerning this?

TIA
-stefan-

On Wed, 2007-02-07 at 14:50 +0100, Stefan Palme wrote:
> Hi,
>
> 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.
>
> I though about adding a new header field in the proxy request, like
> "X-Rewritten-From: /abc/1234"... Can I do this? How? Or any other
> solutions for this use case?
>
> Thanks and regards
> -stefan-
>
>
>

-- 
-------------------------------------------------------------------
Dipl. Inf. (FH) Stefan Palme
 
email: kleiner@hora-obscura.de
www:   http://hbci4java.kapott.org
icq:   36376278
phon:  +49 341 3910484
fax:   +49 1212 517956219
mobil: +49 178 3227887
 
key fingerprint: 1BA7 D217 36A1 534C A5AD  F18A E2D1 488A E904 F9EC
-------------------------------------------------------------------
Received on Thu Feb 22 2007 - 00:47:04 MST

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