SQUID - autoconfig PHP skript: <? header('Content-type: application/x-ns-proxy-autoconfig'); readfile('proxy.ac'); ?> proxy.ac: function FindProxyForURL(url, host) { if (isPlainHostName(host) || dnsDomainIs(host, ".upjs.sk") || dnsDomainIs(host, ".euke.sk")) return "DIRECT"; else return "PROXY proxy.upjs.sk:3128"; }
PREVIOUS
NEXT