Avatar of Swaroop Katargunde
Swaroop Katargunde

asked on 

Need Help in Auto Proxy Configuration

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.
Programming Languages-OtherInternet / Email SoftwareNetworking

Avatar of undefined
Last Comment
Swaroop Katargunde
ASKER CERTIFIED SOLUTION
Avatar of Zsolt Pribusz
Zsolt Pribusz

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Swaroop Katargunde
Swaroop Katargunde

ASKER

Thanks...
Networking
Networking

Networking is the process of connecting computing devices, peripherals and terminals together through a system that uses wiring, cabling or radio waves that enable their users to communicate, share information and interact over distances. Often associated are issues regarding operating systems, hardware and equipment, cloud and virtual networking, protocols, architecture, storage and management.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo