<html>Anybody know how to debug an autoconfig proxy file?<br><br>I made a file, proxy.pac, and put it on<br>/var/www/html on 192.168.5.15<br><br>In the httpd.conf I put<br><pre>AddType application/x-ns-proxy-autoconfig .pac</pre>and restarted httpd.<br><br>My proxy.pac is simple:<br><br><pre>function FindProxyForURL(url, host) {</pre><pre><br></pre><pre>&nbsp;&nbsp;&nbsp;&nbsp; if (isInNet(host, "10.0.0.0",&nbsp; "10.255.255.255"))&nbsp;&nbsp;&nbsp; {</pre><pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return "PROXY 192.168.5.15:8001";</pre><pre>&nbsp;&nbsp;&nbsp;&nbsp; }</pre><pre><br>&nbsp;&nbsp;&nbsp;&nbsp; // All other requests are direct</pre><pre>&nbsp;&nbsp;&nbsp;&nbsp; return "DIRECT";</pre><pre>&nbsp; }</pre><br>And things seem to work OK for anything other than 10.0.0 networks.&nbsp; I put that into my Firefox<br>proxy settings for Automatic Proxy Configuration URL: http://192.168.5.15/proxy.pac<br>and reloaded.<br><br>However, it still does not work for 10.0.0 addresses.&nbsp; When I specify 192.168.5.15 port 8001 manually<br>it works OK but then everything goes through there and I need only the 10.0.0 ones to go through.<br><br>Anyone know either how to debug or what I am doing wrong?<br>Live HTTP Headers does not show anything.&nbsp; Nor does the javascript console.<br><br><br>
</html>