Re: [squid-users] One web site doesn't work if I use proxy.pac file

From: Kevin <kkadow@dont-contact.us>
Date: Tue, 11 Apr 2006 01:38:51 -0500

On 4/10/06, Raj <sunfire2005@gmail.com> wrote:
> If I use proxy.pac file it says page cannot be
> displayed. If I use manual proxy server settings it works fine. I dont
> have any rules in proxy.pac file for this web site.

Does it behave the same regardless of browser?

Some browsers (Firefox,Netscape 7) can provide significantly better
debugging of PAC issues than others (MSIE).

If you insert 'alert' statements in your PAC (use a copy with a
different name), this may help diagnose where things are going wrong.
In some browsers, alert calls are logged into the javascript console.
With Explorer, they pop up in front of your browser window, this gets
annoying fast.

I maintain a rather complex and large (16KB) PAC, so we actually use
Perl to generate the PAC and can automatically insert 'alert'
statements in front of all the return statements depending on how the
client requests the PAC. Makes debugging much easier.

> When I access http://abnamro.compliance.bdw.com/ it redirects to
> http://abnamro.compliance.bdw.com/Login.aspx?ReturnUrl=/Default.aspx.
> I am not sure why it doesn't work if I use proxy.pac file. It works
> fine even if I use the IP address instead of domain name. Any help be
> really appreciated.

Any chance you can post a link to your PAC?

Perhaps you're doing something odd with the host variable, such that
it gets tripped up by very long URLs?

Kevin
Received on Tue Apr 11 2006 - 00:39:00 MDT

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