Solved

Need Help in Auto Proxy Configuration

Posted on 2014-12-06
2
174 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
Comment Utility
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
Comment Utility
Thanks...
0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now