WPAD / PAC woes

Brent Clark brentgclarklist at gmail.com
Sat May 10 10:27:58 UTC 2008


Im really stumped on this one.

Im trying to get WPAD working, but Mozilla Firefox is not playing game.
IE is working.

If anyone could help, it would be great.

Heres my apache virtual host
<VirtualHost *:80>
    ServerAdmin webmaster at example.local
    ServerAlias wpad.example.local
    ServerName wpad.example.local
    DocumentRoot /var/www/wpad/
    AddType application/x-ns-proxy-autoconfig .dat
    AddType application/x-ns-proxy-autoconfig .pac
    ErrorLog /var/log/apache2/wpad_example_local_error.log
    CustomLog /var/log/apache2/wpad_example_local_access.log combined

wpad.dat file
root at eccowall:/var/www/wpad# cat wpad.dat
function FindProxyForURL(url, host) { return "PROXY;

My DNS entry:
wpad    IN      A
            IN      TXT     "service:
wpad.tcp        IN      SRV     0 0 80 wpad.example.local.

My DHCP entry:
option wpad-url code 252 = text;
option wpad-url "http://wpad.example.local/wpad.dat\n";

If I enter the automatic proxy configuration url, then it works for firefox.

Im really at a loss on this one.

Brent Clark

More information about the bind-users mailing list