External redirectors (The Polipo Manual)

Next: Forbidden Tunnels, Previous: Internal forbidden list, Up: Forbidden [Contents][Index]

#### 3.8.2 External redirectors

Polipo can also use an external process (a Squid-style redirector) to determine which URLs should be redirected. The name of the redirector binary is determined from the variable `redirector`, and the kind of redirection generated is specified by `redirectorRedirectCode`, which should be 302 (the default) or 301.

For example, to use Adzapper to redirect ads to an innocuous image, just set

    redirector = /usr/bin/adzapper