Is there a way with proxy.pac file to redirect all port 80 traffic to a
proxy but not any other traffic?

function FindProxyForURL(url, host)
  {
      if (url.substring(0, 5) == "http:") {
        return "PROXY my.proxy:8080";
      }
      else {
        return "DIRECT";
      }
  }

for instance the above wont work.  If it has an "http:" in url it gets
redirected.  What if someone enters www.mydomain.com I still want it to go.
And if someone enters www.mydomain.com:8080 I do not want it to go.

Any ideas?

Matt


Reply via email to