Re: fetching cgi from parent

From: Bruce Campbell <bc@dont-contact.us>
Date: Thu, 5 Mar 1998 20:32:38 +1000 (EST)

On Thu, 5 Mar 1998, Wayne Salamonsen wrote:

> I thought that what you suggest was the initial "default" behaviour of
> squid anyway?
>
> My interpretation of the configuration file was that if 'hierarchy_stoplist'
> is commented out, then the default behaviour is to "directly fetch urls
> containing cgi or ?". It was due to this functionality that I am after a way
> to alter the defaults such that a parent request is made for cgi and ?
> without setting the inside_firewall option...
>
> Or is my interpretation wrong?

q? Ah, other way around - if hierarchy_stoplist is in there, it simply
won't fetch from parents anything matching what its set to, ie cgi-bin/?

Uncommenting it works for me on the few times we cannot directly reach the
outside world.

>
> Wayne
>
>
> At 07:53 PM 3/5/98 +1000, Bruce Campbell wrote:
> >On Thu, 5 Mar 1998, Wayne Salamonsen wrote:
> >
> >[snip parents and so forth]
> >
> >> 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.
> >
> >Comment out 'hierarchy_stoplist' (so it'll fetch from the parent if there
> >cgi-bin and '?'), but make sure 'cache_stoplist' has cgi-bin and '?' and
> >its uncommented.
> >
> >End result, it'll fetch from the parent cgi-bin stuff, but won't cache it.
> >
> > ---==####==---
> >Sysadmin/Coffee Quaffer. Bruce Campbell 3229-1119
> >Hub Communications. TheHub Internet Cafe 125 Margaret St
> >http://www.thehub.com.au/~bc/ Brisbane QLD, Australia 4000
> >
> >
> -----------------------------------------------------------------
> 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
> -----------------------------------------------------------------
>
>

                               ---==####==---
Sysadmin/Coffee Quaffer. Bruce Campbell 3229-1119
Hub Communications. TheHub Internet Cafe 125 Margaret St
http://www.thehub.com.au/~bc/ Brisbane QLD, Australia 4000
Received on Thu Mar 05 1998 - 02:37:06 MST

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