Creating a proxy.pac file

I have created a simple proxy.pac file so that I can point this to my browser without having to always change these settings.
I have used IE8 to point to the file on my c drive in the following format:
Address is pointing to: file://c:/proxy.pac
which is the location of the file.

The problem is it snot working and Im wondering if there are any troubleshooting steps I can take to find out why.
I want to test this before deploying to the domain via GPO
thanks
LVL 1
Jamesm007Asked:
Who is Participating?
 
Dave4125Connect With a Mentor Commented:
Oh wait a second, I just noticed that it's a forward slash. Try this: file:///C:\proxy.pac
0
 
Jamesm007Author Commented:
this is what my proxy.pac file looks like:


function FindProxyForURL(url,host) {

if (
(isInNet(host,"10.xx.xx.0","255.255.255.0")) ||
(isInNet(host,"10.0.0.0","255.255.0.0")) ||
(isInNet(host,"192.168.10.0","255.255.255.0")) ||
(isInNet(host,"127.0.0.0","255.255.255.0"))
)
return "DIRECT";
else
return "PROXY proxy address.com.au:80; DIRECT"; }
0
 
Dave4125Commented:
I think there are three / after file: and you should check if the user has read access to the file.
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
Jamesm007Author Commented:
I am doing this locally on my laptop and I have tried with 3 and 4 /// but apparently IE has 2 - none will work 2,3 or 4 :(
0
 
Jamesm007Author Commented:
just tried that, no luck unfortunately.
Is this supposed to work with IE8 on Win 7 the way I have set it up. I didnt think it would be so difficult.

thanks
0
 
Jamesm007Author Commented:
All good now - missed a / with all the mucking around.
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.