X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fsource%2Fp-config.sgml;h=8fe318369ad6fbf4ee03e0627d6ec95bab4a9409;hp=2a90843008c6e3607fd1d0e20fa0a19febfc213b;hb=89c571890a7f2ba82241d297abb5bdc462f21799;hpb=27c1cc4148ed61a32edfdd6e6e3562da7be7bf44 diff --git a/doc/source/p-config.sgml b/doc/source/p-config.sgml index 2a908430..8fe31836 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.27 2008/01/17 01:49:51 hal9 Exp $ + $Id: p-config.sgml,v 2.36 2009/01/23 14:06:07 fabiankeil Exp $ - Copyright (C) 2001-2008 Privoxy Developers http://www.privoxy.org/ + Copyright (C) 2001-2009 Privoxy Developers http://www.privoxy.org/ See LICENSE. ======================================================================== @@ -95,10 +95,10 @@ Sample Configuration File for Privoxy v&p-version; - $Id: p-config.sgml,v 2.27 2008/01/17 01:49:51 hal9 Exp $ + $Id: p-config.sgml,v 2.36 2009/01/23 14:06:07 fabiankeil Exp $ -Copyright (C) 2001-2008 Privoxy Developers http://www.privoxy.org/ +Copyright (C) 2001-2009 Privoxy Developers http://www.privoxy.org/ @@ -604,8 +604,7 @@ II. FORMAT OF THE CONFIGURATION FILE The directory where all logging takes place - (i.e. where logfile and - jarfile are located). + (i.e. where the logfile is located). @@ -669,13 +668,13 @@ actionsfile - standard.action # Internal purposes, no editing recommended + match-all.action # Actions that are applied to all sites and maybe overruled later on. - default.action # Main actions file + default.action # Main actions file - user.action # User customizations + user.action # User customizations @@ -695,9 +694,8 @@ actionsfile Multiple actionsfile lines are permitted, and are in fact recommended! - The default values include standard.action, which is used - for internal purposes and should be loaded, default.action, - which is the main actions file maintained by the developers, and + The default values are default.action, which is the + main actions file maintained by the developers, and user.action, where you can make your personal additions. @@ -717,7 +715,7 @@ actionsfile -@@actionsfile standard.action # Internal purpose, recommended]]> +@@actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on.]]> @@actionsfile default.action # Main actions file]]> -jarfile - - - - Specifies: - - - The file to store intercepted cookies in - - - - - Type of value: - - File name, relative to logdir - - - - Default value: - - Unset (commented out). When activated: jarfile (Unix) or privoxy.jar (Windows). - - - - Effect if unset: - - - Intercepted cookies are not stored in a dedicated log file. - - - - - Notes: - - - The jarfile may grow to ridiculous sizes over time. - - - If debug 8 (show header parsing) is enabled, cookies are - also written to the logfile with the rest of the headers. - Therefore this option isn't very useful and may be removed - in future releases. Please report to the developers if you - are still using it. - - - - - -@@#jarfile jarfile]]> - - - trustfile @@ -1058,20 +1003,20 @@ actionsfile - debug 1 # log each request destination (and the crunch reason if &my-app; intercepted the request) - debug 2 # show each connection status - debug 4 # show I/O status - debug 8 # show header parsing - debug 16 # log all data written to the network into the logfile - debug 32 # debug force feature - debug 64 # debug regular expression filters - debug 128 # debug redirects - debug 256 # debug GIF de-animation - debug 512 # Common Log Format - debug 1024 # debug kill pop-ups - debug 2048 # CGI user interface - debug 4096 # Startup banner and warnings. - debug 8192 # Non-fatal errors + debug 1 # Log the destination for each request &my-app; let through. See also debug 1024. + debug 2 # show each connection status + debug 4 # show I/O status + debug 8 # show header parsing + debug 16 # log all data written to the network into the logfile + debug 32 # debug force feature + debug 64 # debug regular expression filters + debug 128 # debug redirects + debug 256 # debug GIF de-animation + debug 512 # Common Log Format + debug 1024 # Log the destination for requests &my-app; didn't let through, and the reason why. + debug 2048 # CGI user interface + debug 4096 # Startup banner and warnings. + debug 8192 # Non-fatal errors @@ -1113,9 +1058,10 @@ actionsfile -@@#debug 1 # log each request destination (and the crunch reason if &my-app; intercepted the request)]]> -@@#debug 4096 # Startup banner and warnings]]> -@@#debug 8192 # Non-fatal errors]]> +@@#debug 1 # Log the destination for each request &my-app; let through.]]> +@@#debug 1024 # Log the destination for requests &my-app; didn't let through, and the reason why.]]> +@@#debug 4096 # Startup banner and warnings]]> +@@#debug 8192 # Non-fatal errors]]> @@ -1166,6 +1112,62 @@ actionsfile @@#single-threaded]]> + +hostname + + + + Specifies: + + + The hostname shown on the CGI pages. + + + + + Type of value: + + Text + + + + Default value: + + Unset + + + + Effect if unset: + + + The hostname provided by the operating system is used. + + + + + Notes: + + + On some misconfigured systems resolving the hostname fails or + takes too much time and slows Privoxy down. Setting a fixed hostname + works around the problem. + + + In other circumstances it might be desirable to show a hostname + other than the one returned by the operating system. For example + if the system has several different hostnames and you don't want + to use the first one. + + + Note that Privoxy does not validate the specified hostname value. + + + + + +@@#hostname hostname.example.org]]> + + @@ -2380,6 +2382,106 @@ forward-socks4, forward-socks4a and forward-socks5 @@split-large-forms 0]]> +keep-alive-timeout + + + Specifies: + + + Number of seconds after which an open connection will no longer be reused. + + + + + Type of value: + + + Time in seconds. + + + + + Default value: + + None + + + + Effect if unset: + + + Connections are not reused. + + + + + Notes: + + + This option has no effect if Privoxy + has been compiled without keep-alive support. + + + + + Examples: + + + keep-alive-timeout 300 + + + + +@@keep-alive-timeout 300]]> + + + +socket-timeout + + + Specifies: + + + Number of seconds after which a socket times out if + no data is received. + + + + + Type of value: + + + Time in seconds. + + + + + Default value: + + None + + + + Effect if unset: + + + A default value of 180 seconds is used. + + + + + Examples: + + + socket-timeout 180 + + + + +@@socket-timeout 180]]> + + +