Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is the .pac file being used??

Status
Not open for further replies.

remcovanuitert

Technical User
Apr 3, 2003
28
0
0
BE
I am trying to implement this .pac-script:
function FindProxyForURL(url, host)
{
if (shExpMatch(url, " {return "DIRECT"; }
return "PROXY odysseus:8080;
PROXY proxy.pandora.be:8080;
DIRECT";
}

I put this file on an internal webserver, configured IIS so that it handles .pac files correctly. When I go to (internal webserver's address), I get the pac file, so it should work. IE should be using the script, as it is set in internet options/connections/LAN.

However, IE always connects directly, instead of via a proxy (I checked using netstat and the proxy IS online). Not even after a reboot or with a different user.

Is there a way I can verify that the .pac script is actually being processed by IE?

If I set the proxy manually, it does work (obviously).

thanks in advance
 
Hi, add your site where the pac file is located (10.0.0.2) in your local security zone in internet explorer or use the netbios name in your automatic configuration.

Hope this helps. Please let me know if this resolve your issue

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top