[squid-users] WPAD / PAC woes

From: Brent Clark <brentgclarklist@dont-contact.us>
Date: Sat, 10 May 2008 14:42:05 +0200

Hi

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@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
</VirtualHost>

wpad.dat file
------------------
root@eccowall:/var/www/wpad# cat wpad.dat
function FindProxyForURL(url, host) { return "PROXY 192.168.111.9:3128;
DIRECT"; }

My DNS entry:
--------------------
wpad IN A 192.168.111.9
            IN TXT "service:
wpad:http://wpad.example.local:80/wpad.dat"
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.

Regards
Brent Clark
Received on Sat May 10 2008 - 12:42:19 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:03 MDT