Differences between revisions 4 and 5
Revision 4 as of 2013-11-15 10:30:31
Size: 892
Editor: PieterSmit
Comment:
Revision 5 as of 2013-11-15 20:16:25
Size: 193
Editor: no-data
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
##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";
   }
   }}}
...
My name is Mitzi Bardolph. I live in Siljansnas (Sweden).<<BR>>
<<BR>>
<<BR>>
Review my web-site - Iodoral Ingredients ([[http://lasonyaje.musicblogg.se|just click the up coming article]])

My name is Mitzi Bardolph. I live in Siljansnas (Sweden).


Review my web-site - Iodoral Ingredients (just click the up coming article)

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