Re: [squid-users] how to append to the requests to origin

From: Evuraan::ഏവൂരാന്‍ <evuraan_at_gmail.com>
Date: Thu, 18 Dec 2008 12:26:57 -0800

> Aha. What you want is to make the origin server locate and use the
> X-Forwarded-For: header. It is designed for this type of usage and Squid
> already adds it by default to all requests. It contains the client IP which
> sent the request into Squid.

Thanks, but that's too generic, I am afraid.

Is there any other way with which a new header can be passed onto the origins?

>
> it
> Amos
>
>
>>
>>
>> 2008/12/17 Amos Jeffries <squid3_at_treenet.co.nz>:
>>>>
>>>> Greetings,
>>>>
>>>> I've squid running in non-transparent mode. On a MISS, when it makes
>>>> requests to the origin, how can something else be passed along with
>>>> that request? Like a custom signature header? %{Foobar}i or even
>>>> somehting like:
>>>>
>>>> http.setHeader("X-Pew-Pew:Blah-blah-1")
>>>>
>>>> thx.!
>>>>
>>> Define "something" please.
>>> There are many ways of changing requests. Some are possible some are not.
>>>
>>> Amos
>>>
>>>
>
>
> --
> Please be using
> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
> Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1
>
Received on Thu Dec 18 2008 - 20:27:00 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 19 2008 - 12:00:02 MST