Re: [squid-users] Uploads not working behind squid proxy

From: Crawford, Ben <bcrawford_at_sohs.school.nz>
Date: Thu, 12 Jul 2012 12:44:08 +1200

Turns our I just needed the
never_direct allow all
in the right spot of course.

Cheers,
Ben

> well the answer is you other mail + the squid.conf
>
> "Without the cache_peer I can not get to any sties at all. All
> internet (well, http and https) traffic on our network must go through
> the parent proxy, either directly or through a local child proxy."
>
> the proxy tries to connect the direct upstream server to get access because
> you dont have an explicit "never_direct allow all" acl defined.
> so post and other requests that requires direct access will then tried to be
> served by accessing the origin server.
> you must be explicit with cache_peer acl.
> replace:
> ##
>
> cache_peer 10.55.240.250 parent 3128 3130 no-query default login=PASS
> ##
> with
> ##
> cache_peer 10.55.240.250 parent 3128 3130 no-query default login=PASS
> name=upstream
> cache_peer_access upstream allow all
> never_direct allow all
> ##
>
> this will allow and will force all traffic through the upstream proxy
> server.
>
> Good luck,
> Eliezer
>
> <SNIP>
>
> --
> Eliezer Croitoru
> https://www1.ngtech.co.il
> IT consulting for Nonprofit organizations
> eliezer <at> ngtech.co.il
>
>
Received on Thu Jul 12 2012 - 00:44:15 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 12 2012 - 12:00:02 MDT