Re: fetching cgi from parent

From: Wayne Salamonsen <wayne@dont-contact.us>
Date: Thu, 05 Mar 1998 16:54:49 +0800

Sounds like something I would be keen to look at. Can you point me to the
patch or mail it across.

thanks
Wayne

At 06:39 PM 3/5/98 +1000, Dancer wrote:
>I have a patch that causes squid to go direct if (and only if) no parents are
>currently available. Nobody really showed any interest in it though.
>
>D
>
>
>Wayne Salamonsen wrote:
>
>> Hi all,
>> in the midst of configuring a cache (v1.1.20). This cache needs
to fetch
>> the bulk of its traffic via a parent (including cgi scripts). There is a
>> list of subsites however that it can go direct for. However, even for these
>> sites we would prefer to use a parent and only fetch directly if the parent
>> is down for some reason.
>>
>> This introduces a few issues. I have the functionality working
by setting
>> the inside_firewall option to none. This forces all requests to go via the
>> parent. For my subset of caches that can go direct, I can use the
>> inside_firewall option to allow them. This however has the unfortunate
>> aspect that those sites which it CAN go direct for, it will ALWAYS go
>> direct. I would prefer it to still use the parent cache if possible.
>>
>> If I do not use the inside_firewall option, the desired
functionality
>> exists, except I cannot find a way to turn off the default behaviour of
>> going direct for cgi scripts and those containing ? (the hierarchy_stoplist
>> option).
>> Is there a way to switch off this default behaviour? If there is, I would
>> prefer that solution to the inside_firewall option. If not, I will have to
>> make do with inside_firewall and put up with the small negative aspects.
>>
>> Comments appreciated...
>>
>> Wayne
>>
>> -----------------------------------------------------------------
>> Wayne Salamonsen
>> R&D Engineer
>>
>> Internet Research & Development Unit Email: wayne@irdu.nus.sg
>> National University of Singapore URL: http://irdu.nus.sg
>> Computer Centre Ph: +65 771 5238
>> 10 Kent Ridge Crescent Fax: +65 872 6205
>> Singapore
>> -----------------------------------------------------------------
>
>
>
>--
>Did you read the documentation AND the FAQ?
>If not, I'll probably still answer your question, but my patience will
>be limited, and you take the risk of sarcasm and ridicule.
>
>
>
-----------------------------------------------------------------
Wayne Salamonsen
R&D Engineer

Internet Research & Development Unit Email: wayne@irdu.nus.sg
National University of Singapore URL: http://irdu.nus.sg
Computer Centre Ph: +65 771 5238
10 Kent Ridge Crescent Fax: +65 872 6205
Singapore
-----------------------------------------------------------------
Received on Thu Mar 05 1998 - 01:00:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:10 MST