[squid-users] adding custom headers

From: Stefan Palme <kleiner@dont-contact.us>
Date: Wed, 07 Feb 2007 14:50:05 +0100

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-
Received on Wed Feb 07 2007 - 09:12:02 MST

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