Re: [squid-users] Java, proxy.pac, and squid

From: Chris Robertson <crobertson@dont-contact.us>
Date: Wed, 23 Aug 2006 11:16:15 -0800

Michael W. Lucas wrote:
> Hi,
>
> I'm not sure this is even related to Squid, but it could be and I need
> to double-check everything. I'm using Squid 2.5S13 on RHEL ESR4.
>
> We need to access a Web site that launches a Java-based file transfer
> client.
>
> If I configure the client browser manually, by entering
> "proxy.us.add:8080" (.add is our private internal domain), the applet
> works.
>
> If I use the following proxy.pac to autoconfigure, however, it doesn't
> work:
>
> function FindProxyForURL(url, host)
> {
> // variable strings to return
> var proxy_yes = "PROXY proxy.us.add:8080";
> var proxy_no = "DIRECT";
>
> return proxy_yes;
>
> }
>
> To my eye it seems that the browser shoudl be sending all requests to
> Squid, no matter what, in either case. access.log seems to indicate
> that all the requests are traversing Squid.
>
> So, either Squid handles cases differently or the browser isn't
> actually sending all the requests to the proxy. I'll happily track
> down the latter elsewhere, but also need to check: does Squid handle
> these cases differently?
>
> Thanks,
> ==ml
>
>
There is no difference in the request sent to Squid due to explicitly
entering the proxy settings vs. supplied via a proxy.pac.

I'd presume that the browser is not passing the proxy setting from the
PAC file to the Java applet.

Chris
Received on Wed Aug 23 2006 - 13:16:21 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT