#! /bin/sh /usr/share/dpatch/dpatch-run ## 17_502_no_such_domain.dpatch by Roland Rosenfeld ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Changes the 404 HTTP status code of the "No such Domain" template ## DP: to 502 Bad Gateway, which seems to be more correct according to ## DP: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html @DPATCH@ diff -urNad privoxy~/templates/no-such-domain privoxy/templates/no-such-domain --- privoxy~/templates/no-such-domain +++ privoxy/templates/no-such-domain @@ -79,7 +79,7 @@ - 404 - No such Domain (Privoxy@@my-hostname@) + 502 - Bad Gateway (Privoxy@@my-hostname@) @@ -95,7 +95,7 @@
- 404 + 502