Frequently Asked Questions

What options exist for selective proxying?

There are a number of ways to accomplish selective proxying.

1 - Via a Browser Add-on/Extension

2 - Via Global Exclusions

3 - Via a PAC (Proxy Auto-Config) File

  • You can create your own PAC (Proxy Auto-Config) file and dynamically set proxying as you need, then point your browser at it on your harddrive using the file:/// scheme. For example:
function FindProxyForURL(url, host) {
    if (shExpMatch(host, "*.example.org")) {
        return "PROXY localhost:8080"; //Use ZAP for *.example.org
    }
    // Go directly to the WWW for everything else
    return "DIRECT";
}

Firefox PAC example

4 - Set “No Proxy For” in Your Browser

  • Most modern browsers allow users to specify domains or networks for which the traffic should not be proxied.
    Firefox No Proxy For example