Proxy configuration
[1/1] from: rondon::andrade::uol::com::br at: 25-Jun-2002 17:28
Hi Rebolers,
I'm having problem to configure my internet connection, because they give a proxy script
for configuration.. Can you help me with that?
Here goes the script:
function FindProxyForURL(url, host)
{
if (!isPlainHostName(host) &&
localHostOrDomainIs(host, "www1.tse.gov.br")) {
return "PROXY proxy2.tse.gov.br:8080";
}
// Direct Connections to Local Subnets
if (isInNet(host, "10.0.0.0", "255.0.0.0")) {
return "DIRECT";
}
// Direct Connections to Local Domain
if (isPlainHostName(host) ||
dnsDomainIs(host, ".tse.gov.br") ||
dnsDomainIs(host, ".tre-ac.gov.br") ||
dnsDomainIs(host, ".tre-al.gov.br") ||
dnsDomainIs(host, ".tre-am.gov.br") ||
dnsDomainIs(host, ".tre-ap.gov.br") ||
dnsDomainIs(host, ".tre-ba.gov.br") ||
dnsDomainIs(host, ".tre-ce.gov.br") ||
dnsDomainIs(host, ".tre-df.gov.br") ||
dnsDomainIs(host, ".tre-es.gov.br") ||
dnsDomainIs(host, ".tre-go.gov.br") ||
dnsDomainIs(host, ".tre-ma.gov.br") ||
dnsDomainIs(host, ".tre-mg.gov.br") ||
dnsDomainIs(host, ".tre-ms.gov.br") ||
dnsDomainIs(host, ".tre-mt.gov.br") ||
dnsDomainIs(host, ".tre-pa.gov.br") ||
dnsDomainIs(host, ".tre-pb.gov.br") ||
dnsDomainIs(host, ".tre-pe.gov.br") ||
dnsDomainIs(host, ".tre-pi.gov.br") ||
dnsDomainIs(host, ".tre-pr.gov.br") ||
dnsDomainIs(host, ".tre-rj.gov.br") ||
dnsDomainIs(host, ".tre-rn.gov.br") ||
dnsDomainIs(host, ".tre-ro.gov.br") ||
dnsDomainIs(host, ".tre-rr.gov.br") ||
dnsDomainIs(host, ".tre-rs.gov.br") ||
dnsDomainIs(host, ".tre-sc.gov.br") ||
dnsDomainIs(host, ".tre-se.gov.br") ||
dnsDomainIs(host, ".tre-sp.gov.br")) {
return "DIRECT";
}
// Otherwise Use Proxy
return "PROXY proxy2.tse.gov.br:8080";
}
Is the proxy server : proxy2.tse.gov.br:8080 ?
I've try this but it's not working...
Can you help me?
Thanks in advance.
Rondon