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

2006-08-23 Thread Chris Robertson

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


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

2006-08-23 Thread Michael W. Lucas

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

-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/
Latest book: PGP & GPG -- http://www.pgpandgpg.com
"The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur