I have problems with automatic proxy detection.
I don't know why there is so many problems with wpad.
Sometimes works, sometimes not. With some customers works, with others not.

I have proxy script file:

function FindProxyForURL(url, host)
// variable strings to return
var proxy_yes = "PROXY";
var proxy_no = "DIRECT";

// Proxy if PC is on local LAN
if (isInNet(myIpAddress(), "", ""))
return proxy_yes;
return proxy_no;

I have renamed that script file to wpad.dat and copy it to the root of web
server document data
on Apache 2.0.52
A also create wpad record.
I can ping wpad, and get the correct response.

I can point the browser to http://wpad/wpad.dat and get correct script file
in browser.
I am using windows XP SP2 with IE 6.0 SP2 with correct settings.

I also tried to modify mime.types file in apache configuration adding
following line:
application/x-ns-proxy-autoconfig dat

Without success.

Any ideas ?
Roman Lenarsic