Re: [squid-users] adding custom headers

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Sun, 11 Feb 2007 13:23:21 +0100

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?

> 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?

maybe ICAP would help you, but please answer the first question first...

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Quantum mechanics: The dreams stuff is made of. 
Received on Sun Feb 11 2007 - 05:23:27 MST

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