Solved

Need Help in Auto Proxy Configuration

Posted on 2014-12-06
2
189 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 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

705 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