Add a CGI handler for /wpad.dat
authorFabian Keil <fk@fabiankeil.de>
Mon, 1 Mar 2021 11:22:06 +0000 (12:22 +0100)
committerFabian Keil <fk@fabiankeil.de>
Wed, 10 Nov 2021 16:46:52 +0000 (17:46 +0100)
commit10fc609bee8f3c6832d9107e01f59386febe341a
tree71a619369fcf40c15e3aaeeb1a43f5fd23a8a0aa
parentaaceefe0b1e2b0f4f7cc3a916fe42a35b90701d4
Add a CGI handler for /wpad.dat

... that returns a Proxy Auto-Configuration (PAC) file.

Among other things, it can be used to instruct clients
through DHCP to use Privoxy as proxy.

For example with the dnsmasq option:
dhcp-option=252,http://config.privoxy.org/wpad.dat

Initial patch by Richard Schneidt.
cgi.c
cgisimple.c
cgisimple.h
templates/wpad.dat [new file with mode: 0644]