Differences between revisions 3 and 4
Revision 3 as of 2013-11-15 10:24:45
Size: 223
Editor: 101
Comment:
Revision 4 as of 2013-11-15 10:30:31
Size: 892
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
My name: Anitra Kiley<<BR>>
Age: 32<<BR>>
Country: Iceland<<BR>>
Town: Reykjavik <<BR>>
Post code: 123<<BR>>
Street: Tunbraut 97<<BR>>
<<BR>>
my site: [[http://www.arbgate.com/search?q=|Bayside Real Estate Agents]]
##master-page:HomepageReadWritePageTemplate
##master-date:Unknown-Date
#format wiki
#language en
= 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";
   }
   }}}
...

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
  • 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";
         }

...

wpad.dat (last edited 2013-11-16 11:53:54 by PieterSmit)