Chris,
Yep, I'm not sure why the Referer header wasn't getting passed
through, but it is now.
Thanks for the reminder on disabling buffering.
Best Regards,
- Louis
On Tue, May 12, 2009 at 11:21 AM, Chris Woodfield <rekoil_at_semihuman.com> wrote:
> One common mistake (I made it myself with my first rewriter, in fact) is to
> buffer the helper's STDOUT. Make sure you either disable buffering entirely
> (in perl, you can do this with a "$| = 1;" statement) or make sure you
> flush() STDOUT after printing OK/ERR.
>
> -C
>
> On May 12, 2009, at 9:23 AM, louis gonzales wrote:
>
>> Amos,
>> Thanks for the response - after some testing last night, not sure what
>> was hanging it up, but got it to work fine.
>>
>> So "everything is good".
>>
>> Thanks again.
>>
>> On Tue, May 12, 2009 at 7:20 AM, Amos Jeffries <squid3_at_treenet.co.nz>
>> wrote:
>>>
>>> louis gonzales wrote:
>>>>
>>>> Dist,
>>>> In pre 3.0 Squid versions, I used the %{Referer} header to an external
>>>> helper, I 'seem' to be having an issue with this Request Header in
>>>> 3.0... just wondering if anyone else has had an issue "OR" can confirm
>>>> that it works?
>>>>
>>>> Thanks List,
>>>>
>>>
>>> I don't have time this week to setup the test myself and confirm sorry.
>>> You can test it easily yourself using:
>>>
>>> * a dummy external helper that prints its input to a log and returns
>>> "OK\n"
>>>
>>> * squidclient -H "Referer: fubar\n" http://google.com/
>>>
>>> ==> see what the helper log contains, what the cache.log contains.
>>>
>>> Amos
>>> --
>>> Please be using
>>> Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
>>> Current Beta Squid 3.1.0.7
>>>
>>
>>
>>
>> --
>> Louis Gonzales
>> BSCS EMU 2003
>> HP Certified Professional
>> louis.gonzales_at_linuxlouis.net
>>
>
>
-- Louis Gonzales BSCS EMU 2003 HP Certified Professional louis.gonzales_at_linuxlouis.netReceived on Tue May 12 2009 - 15:30:14 MDT
This archive was generated by hypermail 2.2.0 : Tue May 12 2009 - 12:00:02 MDT