Search squid archive

Re: adding custom headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx ; 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. 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux