Configure privoxy to proxy all requests to the same web page

Steven Smith <[email protected]> Sun, 26 Sep 2021 08:17:34 -0400
Newsgroups gmane.comp.web.privoxy.user
Message-ID <[email protected]>
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.

_______________________________________________
Privoxy-users mailing list
[email protected]
https://lists.privoxy.org/mailman/listinfo/privoxy-users