Hi, I have setup the squid.conf like this :
acl CONNECT method CONNECT acl bpi proxy_auth REQUIRED acl localhost src 127.0.0.1/255.255.255.255 acl manager proto cache_object acl myclients src 192.168.1.38/24 acl QUERY urlpath_regex cgi-bin \? acl SSL_ports port 443 563 acl to_localhost dst 127.0.0.0/8 auth_param basic children 5 auth_param basic credentialsttl 2 hours auth_param basic program /etc/squid/myauthprg.php auth_param basic realm Squid proxy-caching web server coredump_dir /var/spool/squid hierarchy_stoplist cgi-bin ? http_access allow bpi http_access allow localhost http_access allow manager localhost myclients http_access allow myclients http_access deny CONNECT !SSL_ports http_access deny manager http_access deny !Safe_ports http_port 8080 http_reply_access allow all icp_access allow all no_cache deny QUERY refresh_pattern . 0 20% 4320 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 visible_hostname dhcppc2 My authenticate program is always activated, but i would like that this program acticated only when i connect outside my local network. How must i do ? Thanks for your help, Bernard
