X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=doc%2Fsource%2Fp-config.sgml;h=bb831aae7a1c7023df2a7d5cc899beb256a7b350;hb=4ce0ab023d56dc9bc4f1ff161150f9c29002f34a;hp=b2c49b86dd3d16a60faccf820fb55ff911d54177;hpb=46efa6f8fea119c9671cd61aa2e29b2a3f2ad75c;p=privoxy.git diff --git a/doc/source/p-config.sgml b/doc/source/p-config.sgml index b2c49b86..bb831aae 100644 --- a/doc/source/p-config.sgml +++ b/doc/source/p-config.sgml @@ -3,9 +3,9 @@ Purpose : Used with other docs and files only. - $Id: p-config.sgml,v 2.35 2009/01/13 16:44:32 fabiankeil Exp $ + $Id: p-config.sgml,v 2.65 2010/10/30 16:09:31 fabiankeil Exp $ - Copyright (C) 2001-2009 Privoxy Developers http://www.privoxy.org/ + Copyright (C) 2001-2010 Privoxy Developers http://www.privoxy.org/ See LICENSE. ======================================================================== @@ -81,7 +81,9 @@ The main config file controls all aspects of Privoxy's operation that are not location dependent (i.e. they apply universally, no matter - where you may be surfing). + where you may be surfing). Like the filter and action files, the config file is + a plain text file and can be modified with a text editor like emacs, vim or + notepad.exe. ]]> @@ -95,10 +97,10 @@ Sample Configuration File for Privoxy v&p-version; - $Id: p-config.sgml,v 2.35 2009/01/13 16:44:32 fabiankeil Exp $ + $Id: p-config.sgml,v 2.65 2010/10/30 16:09:31 fabiankeil Exp $ -Copyright (C) 2001-2009 Privoxy Developers http://www.privoxy.org/ +Copyright (C) 2001-2010 Privoxy Developers http://www.privoxy.org/ @@ -338,7 +340,7 @@ II. FORMAT OF THE CONFIGURATION FILE Default value: - Two example URLs are provided + Unset @@ -369,8 +371,8 @@ II. FORMAT OF THE CONFIGURATION FILE -@@trust-info-url http://www.example.com/why_we_block.html]]> -@@trust-info-url http://www.example.com/what_we_allow.html]]> +@@#trust-info-url http://www.example.com/why_we_block.html]]> +@@#trust-info-url http://www.example.com/what_we_allow.html]]> @@ -668,10 +670,13 @@ actionsfile - default.action # Main actions file + match-all.action # Actions that are applied to all sites and maybe overruled later on. + + + default.action # Main actions file - user.action # User customizations + user.action # User customizations @@ -712,6 +717,7 @@ actionsfile +@@actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on.]]> @@actionsfile default.action # Main actions file]]> + +handle-as-empty-document. + + + + + Type of value: + + + 0 or 1 + + + + + Default value: + + 0 + + + + Effect if unset: + + + Privoxy returns a status 403(forbidden) for all blocked pages. + + + + + Effect if set: + + + Privoxy returns a status 200(OK) for pages blocked with +handle-as-empty-document + and a status 403(Forbidden) for all other blocked pages. -@@socket-timeout 180]]> +@@handle-as-empty-doc-returns-ok 1]]>