Link to home
Start Free TrialLog in
Avatar of Jamesm007
Jamesm007

asked on

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
Avatar of Jamesm007
Jamesm007

ASKER

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"; }
I think there are three / after file: and you should check if the user has read access to the file.
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 :(
ASKER CERTIFIED SOLUTION
Avatar of Dave4125
Dave4125
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
All good now - missed a / with all the mucking around.
thanks