<div dir="ltr"><div><div>Hi, <br><br>I'm having the following problem with my squid3:<br><br>When I set the browser: "Auto-Detect proxy settings for this network" does not work.<br><br>When we report: "Manual proxy configuration" works.<br><br>Follow my configuration files:<br><br><b>/var/www/wpad.dat</b><br>function FindProxyForURL(url, host) {<br>    if (shExpMatch(url,"*.<a href="http://empresa.com/*">empresa.com/*</a>"))<br>        {<br>            return "DIRECT";<br>        }<br>    if (isInNet(host, "192.168.0.0","255.255.252.0"))<br>        {<br>            return "DIRECT";<br>        }<br>    return "PROXY <a href="http://192.168.0.69:3128">192.168.0.69:3128</a>";<br>}<br><br><br><b>/etc/dhcp/dhcpd.conf</b><br>ddns-update-style none;<br>default-lease-time 600;<br>max-lease-time 7200;<br>authoritative;<br>option wpad-url code 252 = text;<br>ddns-domainname "<a href="http://cmb.empresa.com">cmb.empresa.com</a>.";<br>option domain-name "<a href="http://cmb.empresa.com">cmb.empresa.com</a>.";<br><br> <br>subnet 192.168.0.0 netmask 255.255.252.0 {<br>  range 192.168.1.1 19.168.3.253;<br>  option routers 192.168.0.1;<br>  option domain-name-servers 192.168.0.25,192.168.0.10;<br>  option broadcast-address 192.168.3.255;<br>  option wpad-url "<a href="http://192.168.0.69/wpad.dat\n">http://192.168.0.69/wpad.dat\n</a>"; <br>    <br>}<br><br><br><b>/etc/bind/<a href="http://db.empresa.com">db.empresa.com</a></b><br>;<br>$TTL    600<br>@    IN    SOA    <a href="http://dns1.cmb.emprea.com">dns1.cmb.emprea.com</a>. <a href="http://root.cmb.empresa.com">root.cmb.empresa.com</a>. (<br>              2015083001; Serial<br>             300        ; Refresh<br>             300        ; Retry<br>                    600        ; Expire<br>             900 )    ; Negative Cache TTL<br>;<br>@        IN    NS     <a href="http://dns1.cmb.emprea.com">dns1.cmb.emprea.com</a>.    <br>@        IN    MX 10   <a href="http://webmail.cmb.emprea.com">webmail.cmb.emprea.com</a>.<br>...<br>proxy        IN    A    192.168.0.69<br>wpad        IN    CNAME    proxy<br><br><br>Is there any tool to test my proxy ?<br><br>Do I need to set any library in apache2 ?<br><br></div>Regards,<br><br></div>Márcio Bacci<br><div><div><br></div></div></div>