Link to home
Start Free TrialLog in
Avatar of Reinhard Rensburg
Reinhard RensburgFlag for South Africa

asked on

IE 9 "ignores" .pac auto config script and try to access internet directly

Good Day,

I've used a proxy.pac file successfully with older versions of Internet Explorer ( ver 7, 8). It seems like Internet Explorer 9 (running on Windows 7 64-bit) simply ignores the .pac file all together. It tells the web browser to use our proxy server if the notebooks are on our LAN Subnet but IE9 still tries to access the internet directly.

Attached (embedded proxy.txt) is the proxy.pac file I am using that is currently ignored by Internet Explorer 9.

Is there any way to see if IE 9 is indeed looking at the .pac file (for instance with the netstat command one can see all IP connections and there it does not show that the browser has a connection with the proxy server).

Thanks for any guidance / help on getting IE9 to work with a .pac auto configuration script file.


Regards,
Reinhard


 proxy.txt
ASKER CERTIFIED SOLUTION
Avatar of greedj
greedj
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Reinhard Rensburg

ASKER

Hi greedj,

Thanks for the example .pac file,

The way we've set it up is that it is a .pac file copied locally to the Notebooks by a GPO, but when IE9 is told to look at this file (file://c:/proxy.pac) it seems to ignore it regardless of the content of the .pac file.

This .pac file (attached higher up on this support question) works fine on IE 7 and IE8 but even if I modify it to tell IE to use our proxy server for all websites it still tries to access the internet "directly" without even trying to go through the proxy server, so I am trying to establish how one can see if the browser does infact try to work through the proxy server or if it does look at the .pac file, did Microsoft not build something into IE9 that it's got some kind of intelligence to bypass 'n .pac file and follow it's own mind in certain scenarios?

I don't really know where to start looking, perhaps the format of the path to the .pac file is not the same for IE9 and need to change? (we use format "(file://c:/proxy.pac) ")

Thanks,
Reinhard
You can not put the pac file local. IE will ignore it, its a security feature. It must be hosted on a web server.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi GreedJ,

Thanks I will do that, as a matter of interest, what happens when a notebook cannot see that webserver? (in other words, at work the notebook sees the proxy.pac file on an internal webserver and adheres to it, when the guy now goes hom and the notebook cannot see the proxy.pac will it automatically now assume not to use a proxy server and connect directly? (this is in fact what I would want, might be the solution to my problem...)

Thanks,
Reinahrd
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi greedj,

Excellent, thanks, this then solves my problem completely :)

Regards,
Reinhard.