[Privoxy-users] Configure privoxy to proxy all requests to the same web page

Steven Smith steve.t.smith at gmail.com
Sun Sep 26 12:17:34 UTC 2021


I’d like to configure privoxy to proxy all requests to the same web page, say http://localhost:8119/default.html <http://localhost:8119/default.html>, or perhaps simply return 200 with a blank page.

Both http GET and https CONNECT requests should always return the same page and same 200 return code:

curl -I --proxy http://localhost:8118 http://whatever.com/
curl -I --proxy http://localhost:8118 https://google.com?q=foobar <https://google.com/?q=foobar>

What’s the simple way to do this with privoxy?

The context is that I’d like to blackhole specific connections determined within a proxy.pac file.


More information about the Privoxy-users mailing list