Thanks for the response.
The idea is to make entries in origin's access log easily
distinguishable and usefull. The prototype I've is as follows:
Anything from my squids to their origin servers should have a
"Bill-To" header, something like,
~$ curl -v http://192.168.1.100/index.html -o /dev/null --header
"Bill-To:Western" --silent
* About to connect() to 192.168.1.100 port 80 (#0)
* Trying 192.168.1.100... connected
* Connected to 192.168.1.100 (192.168.1.100) port 80 (#0)
GET /index.html HTTP/1.1
User-Agent: curl/7.16.4
Host: 192.168.1.100
Accept: */*
Accept-Encoding: deflate, gzip
Bill-To:Western <----------------------
The origin server would then log it in its access log as:
Bill-To:Western host:192.168.1.100 virt:127.0.1.1 <snip>
Thx../
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
>
>
Received on Thu Dec 18 2008 - 04:02:45 MST
This archive was generated by hypermail 2.2.0 : Thu Dec 18 2008 - 12:00:03 MST