rob998 Posted March 2, 2015 Posted March 2, 2015 Hello, Can anyone see anything wrong with this PAC file: function FindProxyForURL(url, host) { if ((host==”localhost”) || shExpMatch(host, “*localhost.*”) || shExpMatch(host, “10.10.10.0/20″) || shExpMatch(host, “17.0.0.0/8″) || (host == “127.0.0.1”)) { return “DIRECT”; } return “PROXY proxy.LEA.net:80″ } I want my iPads to do direct to all local addresses and use a proxy for everything else. Rob
chris_uk Posted March 2, 2015 Posted March 2, 2015 function FindProxyForURL(url, host) { if ((host==”localhost”) || shExpMatch(host, “*localhost.*”) || shExpMatch(host, “10.10.10.0/20″) || shExpMatch(host, “17.0.0.0/8″) || (host == “127.0.0.1”)) { return “DIRECT”; } return “PROXY proxy.LEA.net:80″; } You are missing a ";" from the last line. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now