⇤ ← Revision 1 as of 2012-06-21 14:59:56
445
Comment:
|
892
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
* wpad is a javascript file that the browser loads, the script tells the browser witch proxy to use for every url request. | * wpad is a javascript "pac" file that the browser loads, the script tells the browser witch proxy to use for every url request. |
Line 10: | Line 10: |
* have dns setup top point wpad.COMP.com to the server. | * discovery * a dhcp server, configured with option 252 = "http://your.server.here/wpad.dat" * have dns setup top point wpad.COMP.com to the server. |
Line 14: | Line 16: |
* In your /etc/dhcpd.conf global config, you need something like this: {{{ # For browser auto proxy configuration option wpad code 252 = text; option wpad "http://wpad.my.lan/wpad.dat\n"; }}} * Example wpad.dat file {{{ function FindProxyForURL (url, host) { return "PROXY proxy:8080"; } }}} |
WPAD proxy config
- wpad is a javascript "pac" file that the browser loads, the script tells the browser witch proxy to use for every url request.
Apache2
- put wpad.dat file under /var/www
- discovery
a dhcp server, configured with option 252 = "http://your.server.here/wpad.dat"
- have dns setup top point wpad.COMP.com to the server.
- setup the file type, in apache to "application/x-ns-proxy-autoconfig"
- In your /etc/dhcpd.conf global config, you need something like this:
# For browser auto proxy configuration option wpad code 252 = text; option wpad "http://wpad.my.lan/wpad.dat\n";
- Example wpad.dat file
function FindProxyForURL (url, host) { return "PROXY proxy:8080"; }
...