I'm going to try and set this out as logically as I can because I've been working on it for some hours now...
I want to implement WPAD so that teachers can use their local user account both on our network and have internet access and also when they get home without having to do anything. At the moment, the proxy settings are defined in the profile and through GPO meaning they have to untick the 'use proxy server' box in LAN settings each time they want to use the net at home and then re-tick it when they want to use it at work.
Background info:
Windows Server 2003 R2 with IIS 6 as the main intranet server. computer name= intranet
Server2 has Windows Server 2003 R2 installed
DNS hosted on 'server2'
DHCP hosted on 'server2'
External proxy: proxy.embc.uk.com:80
I'm using IE7 to do the bulk of the testing, and will be using IE7, IE8, Firefox and Netscape once it's done.
What I've done so far.
*Created a .pac file called proxy.pac and put it on the the root of intranet
*Created a .dat filed called wpad.dat and put it on the root of intranet (contents are the same as above)Code:function FindProxyForURL(url, host) { var proxy_yes = "PROXY proxy.embc.uk.com:80"; var proxy_no = "DIRECT"; if (shExpMatch(url, "http://intranet*")) { return proxy_no; } if (shExpMatch(url, "http://*.embc.uk.com*")) { return proxy_no; } if (shExpMatch(url, "http://10.56.*")) { return proxy_no; } if (shExpMatch(url, "http://eregistration*")) { return proxy_no; } if (isInNet(myIpAddress(), "10.56.0.0", "255.255.252.0")) return "PROXY proxy.embc.uk.com:80"; else return "DIRECT"; }
*Added MIME Types in IIS for .pac and .dat with type value "application/octet-stream"
*Created option 252 in DHCP with value "http://intranet/wpad.dat"
*Created Cname record in DNS called wpad with FQDN of wpad.curriculum.school.co.uk pointing to intranet.curriculum.school.co.uk
*Created indentities in IIS for wpad.intranet to point to the same IP as intranet
I think I've got it all in there. Now the problems I'm having are:
*when I visit http://intranet/proxy.pac I get the options to Find, Save or Cancel. The same happens if I visit http://intranet/wpad.dat.
*when I add http://intranet/proxy.pac to 'Use automatic configuration script' it doesn't seem to work or do anything. No errors or anything, it's just as if I hadn't put anything in.
*When I check the box to 'Automatically detect proxy settings', it doesn't seem to do anything.
*When I visit http://wpad/ it loads the main intranet page but when i visit http://wpad/proxy.pac it doesn't do anything.
I think that's everything but if I come up with any more, i'll edit my post. Any help would be much appreciated.
Thanks.
Edits are in Italics



LinkBack URL
About LinkBacks
Reply With Quote




