Solved

Need Help in Auto Proxy Configuration

Posted on 2014-12-06
2
183 Views
Last Modified: 2014-12-10
Hi,

I need help in making a auto proxy configuration file script (.pac) . I have a sample configuration as mention below but when i link it to my browser it doesn't work . I have configured in a way if any users want to access macxx.com, windowxx.com it should go through the proxy sever and every thing else should not use the proxy setting. Below are the sample configuration file :

function FindProxyForURL(url, host)
{
 
 if ( shExpMatch ( url, "*.macxx.com*") ||
 shExpMatch (url, "*.windowxx.com*") )
 {
 return "10.19.10.10:2234";
 }
  else
 {
 return "DIRECT";
 }
}

I have saved this in a proxy.pac file and linked in Internet explorer , below are the setting :

Internet Explorer:

Tools > Internet Options > ‘Connections’ tab > LAN Settings > Ensure everything under ‘Proxy
server’ is unchecked > ‘Select Use automatic configuration script’ > Entered the location of the PAC
file.

As i had kept the file in local system, the location of the PAC file mention in the setting is : file://c:/proxy.pac



Please advise . Thanks in advance.
0
Comment
Question by:Swaroop Katargunde
2 Comments
 
LVL 4

Accepted Solution

by:
Zsolt Pribusz earned 500 total points
ID: 40484993
From version 11 IE doesn't accept pac files from file:// location.
You need to place this file in a real web server...

http://blogs.msdn.com/b/ieinternals/archive/2013/10/11/web-proxy-configuration-and-ie11-changes.aspx
0
 

Author Comment

by:Swaroop Katargunde
ID: 40491918
Thanks...
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fiber optic multimode cable issue 6 56
Dns issues 4 47
Samba Question 11 75
IR 1023 Scanning 4 23
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question