How to disable the direct access for cgi-bin & ? (fwd)

From: G Muthukumar <muthu@dont-contact.us>
Date: Sat, 7 Feb 1998 19:31:41 -0500 (GMT)

Hi,

        I managed to get it working. I decided to compile the lastest version of
squid when I found the size of the squid binary < 300KB (I was using the squid
which came with BSDI 3.0). It is now working.

         I would like thank Redfern Ian & Bill Wichers for their response.

Regards,
Muthu
> Hi,
>
> I am running squid-1.1.16 beta on a BSDI 3.0 machine. I have to
> configure squid do the following:
>
> 1. Connect directly to the internal web servers
>
> 2. Forward all other requests to a parent cache (Netscape proxy server)
>
> I was partially successful in configuring the above. My problem is that
> when squid finds cgi-bin or ? in the URL, it tries to retrieve the URL directly
> whereas it has to go through the parent cache (This squid does not have direct
> internet connection). I get the following error message:
>
> ----------------------------------------
> While trying to retrieve the URL: http://207.82.250.251/cgi-bin/start
>
> The following error was encountered:
>
> Connection Failed
>
> The system returned:
>
> (37) Operation already in progress
>
> This means that:
>
> The remote site or server may be down. Please try again soon.
> -----------------------------------------
>
> I cannot use inside_firewall directive to achieve the above since I have
> to connect to the internal servers directly. (If I set inside_firewall to none,
> the above problem is solved but I cannot connect to my internal servers
> directly anymore)
>
> I tried changing hierarchy_stoplist, but whatever I do, squid always
> tries to retrive the page DIRECTLY (whereas other requests are correctly
> forwarded to the parent cache; there is no problem)
>
> I tried setting firewall_ip too. I still get the same error but if I see
> the logs, it now says NONE.
>
> Is there anyway to solve my problem? Please help.
>
> TIA,
> Muthu
>
> PS:
>
> I tried the above with a Linux machine running squid-1.1.19. Here also,
> it works only if I set inside_firewall to none.
>
>
Received on Sat Feb 07 1998 - 06:10:01 MST

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