?
Solved

Need Help in Auto Proxy Configuration

Posted on 2014-12-06
2
Medium Priority
?
195 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
Zsolt Pribusz earned 2000 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This program is used to assist in finding and resolving common problems with wireless connections.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Suggested Courses

777 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