I'm trying to get a PAC file working to allow staff laptops to be used in school (currently they can't really get internet access as our Managed Services people are a bunch of idiots and don't want to give out the WPA key for the WiFi they specifically set up for staff usage), which requires them to go through the school firewall/filter system and for the laptops to work normally at home. I've got a basic idea of how it works and a file I've tested but doesn't work:
From everything I've read online that should work fine, it should try the first proxy address and if that fails then resort to a direct connection. IE throws up a "Cannot display webpage" error when I try it but if I put the proxy in the manual settings then it works fine.
function FindProxyForURL(url, host)
return "PROXY 10.174.52.29:8080; DIRECT";
Is there anything obviously wrong with the code or is it just IE playing silly buggers? I haven't tried FF or Chrome yet as IE is the main thing staff will be using due to some needed functionality in our VLE that is only supported by IE.
EDIT: Nevermind, was being an idiot and forgetting to include "file://" before the path to PAC in the Internet Settings.