Various small updates for new actions, filterfiles, etc.
[privoxy.git] / doc / webserver / user-manual / config.html
index e16e47a..a25a894 100644 (file)
@@ -4,9 +4,10 @@
 >The Main Configuration File</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.60"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
+"><LINK
 REL="HOME"
-TITLE="Privoxy User Manual"
+TITLE="Privoxy 3.0.4 User Manual"
 HREF="index.html"><LINK
 REL="PREVIOUS"
 TITLE="Privoxy Configuration"
@@ -27,6 +28,7 @@ ALINK="#0000FF"
 ><DIV
 CLASS="NAVHEADER"
 ><TABLE
+SUMMARY="Header navigation table"
 WIDTH="100%"
 BORDER="0"
 CELLPADDING="0"
@@ -35,7 +37,7 @@ CELLSPACING="0"
 ><TH
 COLSPAN="3"
 ALIGN="center"
->Privoxy User Manual</TH
+>Privoxy 3.0.4 User Manual</TH
 ></TR
 ><TR
 ><TD
@@ -44,6 +46,7 @@ ALIGN="left"
 VALIGN="bottom"
 ><A
 HREF="configuration.html"
+ACCESSKEY="P"
 >Prev</A
 ></TD
 ><TD
@@ -57,6 +60,7 @@ ALIGN="right"
 VALIGN="bottom"
 ><A
 HREF="actions-file.html"
+ACCESSKEY="N"
 >Next</A
 ></TD
 ></TR
@@ -70,8 +74,8 @@ CLASS="SECT1"
 CLASS="SECT1"
 ><A
 NAME="CONFIG"
->7. The Main Configuration File</A
-></H1
+></A
+>7. The Main Configuration File</H1
 ><P
 > Again, the main configuration file is named <TT
 CLASS="FILENAME"
@@ -89,9 +93,12 @@ CLASS="FILENAME"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >confdir /etc/privoxy</I
+></SPAN
 ></P
 >
  </TT
@@ -132,8 +139,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="CONF-LOG-LOC"
->7.1. Configuration and Log File Locations</A
-></H2
+></A
+>7.1. Configuration and Log File Locations</H2
 ><P
 > <SPAN
 CLASS="APPLICATION"
@@ -146,17 +153,20 @@ CLASS="APPLICATION"
 >
  where to find those other files. </P
 ><P
-> The user running Privoxy, must have read permission for all 
- configuration files, and write permission to any files that would 
- be modified, such as log files.</P
+> The user running <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>, must have read
+ permission for all configuration files, and write permission to any files
+ that would be modified, such as log files and actions files.</P
 ><DIV
 CLASS="SECT3"
 ><H4
 CLASS="SECT3"
 ><A
 NAME="CONFDIR"
->7.1.1. confdir</A
-></H4
+></A
+>7.1.1. confdir</H4
 ><P
 ></P
 ><DIV
@@ -178,9 +188,12 @@ CLASS="VARIABLELIST"
 >Default value:</DT
 ><DD
 ><P
->/etc/privoxy (Unix) <I
+>/etc/privoxy (Unix) <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >or</I
+></SPAN
 > <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
@@ -190,9 +203,12 @@ CLASS="APPLICATION"
 >Effect if unset:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Mandatory</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -233,8 +249,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="LOGDIR"
->7.1.2. logdir</A
-></H4
+></A
+>7.1.2. logdir</H4
 ><P
 ></P
 ><DIV
@@ -264,9 +280,12 @@ CLASS="FILENAME"
 >Default value:</DT
 ><DD
 ><P
->/var/log/privoxy (Unix) <I
+>/var/log/privoxy (Unix) <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >or</I
+></SPAN
 > <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
@@ -276,9 +295,12 @@ CLASS="APPLICATION"
 >Effect if unset:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Mandatory</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -303,8 +325,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="ACTIONSFILE"
->7.1.3. actionsfile</A
-></H4
+></A
+>7.1.3. actionsfile</H4
 ><A
 NAME="DEFAULT.ACTION"
 ></A
@@ -427,8 +449,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FILTERFILE"
->7.1.4. filterfile</A
-></H4
+></A
+>7.1.4. filterfile</H4
 ><A
 NAME="DEFAULT.FILTER"
 ></A
@@ -443,7 +465,7 @@ CLASS="VARIABLELIST"
 ><P
 >    The <A
 HREF="filter-file.html"
->filter file</A
+>filter file(s)</A
 > to use
    </P
 ></DD
@@ -460,9 +482,12 @@ CLASS="LITERAL"
 >Default value:</DT
 ><DD
 ><P
->default.filter (Unix) <I
+>default.filter (Unix) <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >or</I
+></SPAN
 > default.filter.txt (Windows)</P
 ></DD
 ><DT
@@ -489,24 +514,31 @@ CLASS="REPLACEABLE"
 >Notes:</DT
 ><DD
 ><P
+>    Multiple <TT
+CLASS="LITERAL"
+>filterfiles</TT
+> lines are permitted.
+   </P
+><P
 >    The <A
 HREF="filter-file.html"
->filter file</A
-> contains content modification
+>filter files</A
+> contain content modification
     rules that use <A
 HREF="appendix.html#REGEX"
 >regular expressions</A
 >. These rules permit
-    powerful changes on the content of Web pages, e.g., you could disable your favorite
-    JavaScript annoyances, re-write the actual displayed text, or just have some
-    fun replacing <SPAN
+    powerful changes on the content of Web pages, and optionally the headers
+    as well, e.g., you could disable your favorite JavaScript annoyances,
+    re-write the actual displayed text, or just have some fun replacing
+    <SPAN
 CLASS="QUOTE"
 >"Microsoft"</SPAN
 > with <SPAN
 CLASS="QUOTE"
 >"MicroSuck"</SPAN
-> wherever
-    it appears on a Web page.
+> wherever it appears
+    on a Web page.
    </P
 ><P
 >    The
@@ -528,14 +560,14 @@ CLASS="REPLACEABLE"
 >name</I
 ></TT
 >)
-    to be defined in the filter file!
+    to be defined in a filter file!
    </P
 ><P
 >    A pre-defined filter file called <TT
 CLASS="FILENAME"
 >default.filter</TT
 > that contains
-    a bunch of handy filters for common problems is included in the distribution.
+    a number of useful filters for common problems is included in the distribution.
     See the section on the <TT
 CLASS="LITERAL"
 ><A
@@ -545,6 +577,13 @@ HREF="actions-file.html#FILTER"
 >
     action for a list.
    </P
+><P
+>    It is recommended to place any locally adapted filters into a separate
+    file, such as <TT
+CLASS="FILENAME"
+>user.filter</TT
+>.
+   </P
 ></DD
 ></DL
 ></DIV
@@ -555,8 +594,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="LOGFILE"
->7.1.5. logfile</A
-></H4
+></A
+>7.1.5. logfile</H4
 ><P
 ></P
 ><DIV
@@ -582,9 +621,12 @@ CLASS="LITERAL"
 >Default value:</DT
 ><DD
 ><P
->logfile (Unix) <I
+>logfile (Unix) <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >or</I
+></SPAN
 > privoxy.log (Windows)</P
 ></DD
 ><DT
@@ -593,7 +635,7 @@ CLASS="EMPHASIS"
 ><P
 >    No log file is used, all log messages go to the console (<TT
 CLASS="LITERAL"
->stderr</TT
+>STDERR</TT
 >).
    </P
 ></DD
@@ -601,9 +643,6 @@ CLASS="LITERAL"
 >Notes:</DT
 ><DD
 ><P
->    The windows version will additionally log to the console.
-   </P
-><P
 >    The logfile is where all logging and error messages are written. The level
     of detail and number of messages are set with the <TT
 CLASS="LITERAL"
@@ -660,8 +699,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="JARFILE"
->7.1.6. jarfile</A
-></H4
+></A
+>7.1.6. jarfile</H4
 ><P
 ></P
 ><DIV
@@ -687,9 +726,12 @@ CLASS="LITERAL"
 >Default value:</DT
 ><DD
 ><P
->jarfile (Unix) <I
+>jarfile (Unix) <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >or</I
+></SPAN
 > privoxy.jar (Windows)</P
 ></DD
 ><DT
@@ -715,8 +757,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="TRUSTFILE"
->7.1.7. trustfile</A
-></H4
+></A
+>7.1.7. trustfile</H4
 ><P
 ></P
 ><DIV
@@ -742,19 +784,25 @@ CLASS="LITERAL"
 >Default value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Unset (commented out)</I
->. When activated: trust (Unix) <I
+></SPAN
+>. When activated: trust (Unix) <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >or</I
+></SPAN
 > trust.txt (Windows)</P
 ></DD
 ><DT
 >Effect if unset:</DT
 ><DD
 ><P
->    The whole trust mechanism is turned off.
+>    The entire trust mechanism is turned off.
    </P
 ></DD
 ><DT
@@ -762,9 +810,12 @@ CLASS="EMPHASIS"
 ><DD
 ><P
 >    The trust mechanism is an experimental feature for building white-lists and should
-    be used with care. It is <I
+    be used with care. It is <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >NOT</I
+></SPAN
 > recommended for the casual user.
    </P
 ><P
@@ -772,24 +823,71 @@ CLASS="EMPHASIS"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > will only allow
-    access to sites that are named in the trustfile. 
-    You can also mark sites as trusted referrers (with <TT
+    access to sites that are specified in the trustfile. Sites can be listed 
+    in one of two ways:
+   </P
+><P
+>    Prepending a <TT
+CLASS="LITERAL"
+>~</TT
+> character limits access to this site 
+    only (and any sub-paths within this site), e.g. 
+    <TT
+CLASS="LITERAL"
+>~www.example.com</TT
+>. 
+   </P
+><P
+>    Or, you can designate sites as <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>trusted referrers</I
+></SPAN
+>, by
+    prepending the name with a <TT
 CLASS="LITERAL"
 >+</TT
->), with
-    the effect that access to untrusted sites will be granted, if a link from a
-    trusted referrer was used.
-    The link target will then be added to the <SPAN
+> character. The effect is that
+    access to untrusted sites will be granted -- but only if a link from this
+    trusted referrer was used. The link target will then be added to the
+    <SPAN
 CLASS="QUOTE"
 >"trustfile"</SPAN
->.
-    Possible applications include limiting Internet access for children.
+> so that future, direct accesses will be granted.
+    Sites added via this mechanism do not become trusted referrers themselves
+    (i.e. they are added with a <TT
+CLASS="LITERAL"
+>~</TT
+> designation).
    </P
 ><P
->    If you use <TT
+>    If you use the <TT
 CLASS="LITERAL"
 >+</TT
-> operator in the trust file, it may grow considerably over time.
+> operator in the trust file, it may grow 
+    considerably over time.
+   </P
+><P
+>    It is recommended that <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> be compiled with
+    the <TT
+CLASS="LITERAL"
+>--disable-force</TT
+>, <TT
+CLASS="LITERAL"
+>--disable-toggle</TT
+> and
+    <TT
+CLASS="LITERAL"
+> --disable-editor</TT
+> options, if this feature is to be
+    used.
+   </P
+><P
+>    Possible applications include limiting Internet access for children.
    </P
 ></DD
 ></DL
@@ -802,8 +900,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="LOCAL-SET-UP"
->7.2. Local Set-up Documentation</A
-></H2
+></A
+>7.2. Local Set-up Documentation</H2
 ><P
 >    If you intend to operate <SPAN
 CLASS="APPLICATION"
@@ -818,8 +916,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="USER-MANUAL"
->7.2.1. user-manual</A
-></H4
+></A
+>7.2.1. user-manual</H4
 ><P
 ></P
 ><DIV
@@ -845,9 +943,12 @@ CLASS="APPLICATION"
 >Default value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Unset</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -899,7 +1000,49 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->user-manual  file:///usr/share/doc/privoxy-2.9.15/user-manual/</PRE
+>  user-manual  file:///usr/share/doc/privoxy-3.0.4/user-manual/</PRE
+></TD
+></TR
+></TABLE
+>
+  </P
+><P
+>   Windows, in local filesystem, <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>must</I
+></SPAN
+> use forward slash notation:
+  </P
+><P
+>   <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  user-manual  file:/c:/some-dir/privoxy-3.0.4/user-manual/</PRE
+></TD
+></TR
+></TABLE
+>
+  </P
+><P
+>   Windows, UNC notation (with forward slashes):
+  </P
+><P
+>   <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  user-manual  file://///some-server/some-path/privoxy-3.0.4/user-manual/</PRE
 ></TD
 ></TR
 ></TABLE
@@ -920,7 +1063,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->user-manual  http://local-webserver/privoxy-user-manual/</PRE
+>  user-manual  http://local-webserver/privoxy-user-manual/</PRE
 ></TD
 ></TR
 ></TABLE
@@ -945,11 +1088,14 @@ ALIGN="CENTER"
 ><TD
 ALIGN="LEFT"
 ><P
->     If set, this option should be <I
+>     If set, this option should be <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
->the first option in the config file</I
->, because
-     it is used while the config file is being read.
+>the first option in the config
+     file</I
+></SPAN
+>, because it is used while the config file is being read.
    </P
 ></TD
 ></TR
@@ -965,8 +1111,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="TRUST-INFO-URL"
->7.2.2. trust-info-url</A
-></H4
+></A
+>7.2.2. trust-info-url</H4
 ><P
 ></P
 ><DIV
@@ -1005,9 +1151,12 @@ CLASS="VARIABLELIST"
 >    The value of this option only matters if the experimental trust mechanism has been
     activated. (See <A
 HREF="config.html#TRUSTFILE"
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >trustfile</I
+></SPAN
 ></A
 > above.)
    </P
@@ -1030,8 +1179,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="ADMIN-ADDRESS"
->7.2.3. admin-address</A
-></H4
+></A
+>7.2.3. admin-address</H4
 ><P
 ></P
 ><DIV
@@ -1054,9 +1203,12 @@ CLASS="VARIABLELIST"
 >Default value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Unset</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -1090,8 +1242,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="PROXY-INFO-URL"
->7.2.4. proxy-info-url</A
-></H4
+></A
+>7.2.4. proxy-info-url</H4
 ><P
 ></P
 ><DIV
@@ -1118,9 +1270,12 @@ CLASS="APPLICATION"
 >Default value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Unset</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -1158,8 +1313,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="DEBUGGING"
->7.3. Debugging</A
-></H2
+></A
+>7.3. Debugging</H2
 ><P
 >  These options are mainly useful when tracing a problem.
   Note that you might also want to invoke
@@ -1178,8 +1333,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="DEBUG"
->7.3.1. debug</A
-></H4
+></A
+>7.3.1. debug</H4
 ><P
 ></P
 ><DIV
@@ -1192,9 +1347,12 @@ CLASS="VARIABLELIST"
 >    Key values that determine what information gets logged to the 
     <A
 HREF="config.html#LOGFILE"
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >logfile</I
+></SPAN
 ></A
 >.
    </P
@@ -1239,11 +1397,12 @@ CLASS="PROGRAMLISTING"
   debug         8 # show header parsing
   debug        16 # log all data into the logfile
   debug        32 # debug force feature
-  debug        64 # debug regular expression filter 
+  debug        64 # debug regular expression filter
   debug       128 # debug fast 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</PRE
 ></TD
@@ -1260,9 +1419,12 @@ CLASS="LITERAL"
    </P
 ><P
 >    A debug level of 1 is informative because it will show you each request
-    as it happens. <I
+    as it happens. <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >1, 4096 and 8192 are highly recommended</I
+></SPAN
 >
     so that you will notice when things go wrong. The other levels are probably
     only of interest if you are hunting down a specific problem. They can produce
@@ -1270,9 +1432,12 @@ CLASS="EMPHASIS"
     
    </P
 ><P
->    The reporting of <I
+>    The reporting of <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >fatal</I
+></SPAN
 > errors (i.e. ones which crash 
     <SPAN
 CLASS="APPLICATION"
@@ -1284,9 +1449,12 @@ CLASS="APPLICATION"
 CLASS="QUOTE"
 >"debug
     512"</SPAN
-> <I
+> <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >ONLY</I
+></SPAN
 > and not enable anything else.
    </P
 ></DD
@@ -1299,8 +1467,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SINGLE-THREADED"
->7.3.2. single-threaded</A
-></H4
+></A
+>7.3.2. single-threaded</H4
 ><P
 ></P
 ><DIV
@@ -1317,18 +1485,24 @@ CLASS="VARIABLELIST"
 >Type of value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >None</I
+></SPAN
 ></P
 ></DD
 ><DT
 >Default value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Unset</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -1344,9 +1518,12 @@ CLASS="EMPHASIS"
 ><DD
 ><P
 >    This option is only there for debug purposes and you should never
-    need to use it. <I
+    need to use it. <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >It will drastically reduce performance.</I
+></SPAN
 >
    </P
 ></DD
@@ -1360,8 +1537,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="ACCESS-CONTROL"
->7.4. Access Control and Security</A
-></H2
+></A
+>7.4. Access Control and Security</H2
 ><P
 >  This section of the config file controls the security-relevant aspects
   of <SPAN
@@ -1375,8 +1552,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="LISTEN-ADDRESS"
->7.4.1. listen-address</A
-></H4
+></A
+>7.4.1. listen-address</H4
 ><P
 ></P
 ><DIV
@@ -1444,11 +1621,32 @@ CLASS="APPLICATION"
 >Privoxy</SPAN
 > will
     bind to all interfaces (addresses) on your machine and may become reachable
-    from the Internet. In that case, consider using access control lists (ACL's)
-    (see <SPAN
-CLASS="QUOTE"
->"ACLs"</SPAN
-> below), or a firewall.
+    from the Internet. In that case, consider using <A
+HREF="config.html#ACLS"
+>access control lists</A
+> (ACL's, see below), and/or
+    a firewall.
+   </P
+><P
+>    If you open <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> to untrusted users, you will
+    also want to turn off the <TT
+CLASS="LITERAL"
+><A
+HREF="config.html#ENABLE-EDIT-ACTIONS"
+>enable-edit-actions</A
+></TT
+> and
+    <TT
+CLASS="LITERAL"
+><A
+HREF="config.html#ENABLE-REMOTE-TOGGLE"
+>enable-remote-toggle</A
+></TT
+>
+    options!
    </P
 ></DD
 ><DT
@@ -1488,8 +1686,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="TOGGLE"
->7.4.2. toggle</A
-></H4
+></A
+>7.4.2. toggle</H4
 ><P
 ></P
 ><DIV
@@ -1562,8 +1760,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="ENABLE-REMOTE-TOGGLE"
->7.4.3. enable-remote-toggle</A
-></H4
+></A
+>7.4.3. enable-remote-toggle</H4
 ><P
 ></P
 ><DIV
@@ -1612,9 +1810,12 @@ CLASS="APPLICATION"
     any URL.
    </P
 ><P
->    For the time being, access to the toggle feature can <I
+>    For the time being, access to the toggle feature can <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >not</I
+></SPAN
 > be
     controlled separately by <SPAN
 CLASS="QUOTE"
@@ -1631,9 +1832,12 @@ CLASS="QUOTE"
 CLASS="LITERAL"
 >listen-address</TT
 > above) can
-    toggle it for all users. So this option is <I
+    toggle it for all users. So this option is <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >not recommended</I
+></SPAN
 >
     for multi-user environments with untrusted users.
    </P
@@ -1654,8 +1858,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="ENABLE-EDIT-ACTIONS"
->7.4.4. enable-edit-actions</A
-></H4
+></A
+>7.4.4. enable-edit-actions</H4
 ><P
 ></P
 ><DIV
@@ -1696,9 +1900,12 @@ TARGET="_top"
 >Notes:</DT
 ><DD
 ><P
->    For the time being, access to the editor can <I
+>    For the time being, access to the editor can <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >not</I
+></SPAN
 > be
     controlled separately by <SPAN
 CLASS="QUOTE"
@@ -1715,10 +1922,13 @@ CLASS="QUOTE"
 CLASS="LITERAL"
 >listen-address</TT
 > above) can
-    modify its configuration for all users. So this option is <I
+    modify its configuration for all users. So this option is <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >not
     recommended</I
+></SPAN
 > for multi-user environments with untrusted users.
    </P
 ><P
@@ -1738,13 +1948,13 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="ACLS"
->7.4.5. ACLs: permit-access and deny-access</A
-></H4
+></A
+>7.4.5. ACLs: permit-access and deny-access</H4
 ><A
-NAME="PERMIT-ACCES"
+NAME="PERMIT-ACCESS"
 ></A
 ><A
-NAME="DENY-ACCES"
+NAME="DENY-ACCESS"
 ></A
 ><P
 ></P
@@ -1818,9 +2028,12 @@ CLASS="REPLACEABLE"
 >Default value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Unset</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -1838,9 +2051,12 @@ CLASS="LITERAL"
 ><DD
 ><P
 >    Access controls are included at the request of ISPs and systems
-    administrators, and <I
+    administrators, and <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >are not usually needed by individual users</I
+></SPAN
 >.
     For a typical home user, it will normally suffice to ensure that 
     <SPAN
@@ -1850,9 +2066,12 @@ CLASS="APPLICATION"
     (127.0.0.1) or internal (home) network address by means of the
     <A
 HREF="config.html#LISTEN-ADDRESS"
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >listen-address</I
+></SPAN
 ></A
 >
     option. 
@@ -1895,9 +2114,12 @@ CLASS="REPLACEABLE"
 >dst_addr</I
 ></TT
 >
-    that is examined is the address of the forwarder and <I
+    that is examined is the address of the forwarder and <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >NOT</I
+></SPAN
 > the address
     of the ultimate target. This is necessary because it may be impossible for the local
     <SPAN
@@ -1908,9 +2130,12 @@ CLASS="APPLICATION"
    </P
 ><P
 >    You should prefer using IP addresses over DNS names, because the address lookups take
-    time. All DNS names must resolve! You can <I
+    time. All DNS names must resolve! You can <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >not</I
+></SPAN
 > use domain patterns
     like <SPAN
 CLASS="QUOTE"
@@ -1941,9 +2166,12 @@ CLASS="REPLACEABLE"
 >dst_addr</I
 ></TT
 > implies that
-    <I
+    <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >all</I
+></SPAN
 > destination addresses are OK:
    </P
 ><P
@@ -2010,8 +2238,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="BUFFER-LIMIT"
->7.4.6. buffer-limit</A
-></H4
+></A
+>7.4.6. buffer-limit</H4
 ><P
 ></P
 ><DIV
@@ -2074,9 +2302,12 @@ CLASS="LITERAL"
 CLASS="LITERAL"
 >buffer-limit</TT
 > Kbytes
-    <I
+    <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >each</I
+></SPAN
 >, unless you have enabled <SPAN
 CLASS="QUOTE"
 >"single-threaded"</SPAN
@@ -2094,8 +2325,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="FORWARDING"
->7.5. Forwarding</A
-></H2
+></A
+>7.5. Forwarding</H2
 ><P
 > This feature allows routing of HTTP requests through a chain of
  multiple proxies.
@@ -2124,8 +2355,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FORWARD"
->7.5.1. forward</A
-></H4
+></A
+>7.5.1. forward</H4
 ><P
 ></P
 ><DIV
@@ -2145,20 +2376,15 @@ CLASS="VARIABLELIST"
 >    <TT
 CLASS="REPLACEABLE"
 ><I
->target_domain</I
-></TT
->[:<TT
-CLASS="REPLACEABLE"
-><I
->port</I
+>target_pattern</I
 ></TT
->]
+>
     <TT
 CLASS="REPLACEABLE"
 ><I
 >http_parent</I
 ></TT
->[/<TT
+>[:<TT
 CLASS="REPLACEABLE"
 ><I
 >port</I
@@ -2166,46 +2392,55 @@ CLASS="REPLACEABLE"
 >]
    </P
 ><P
->    Where <TT
+>    where <TT
 CLASS="REPLACEABLE"
 ><I
->target_domain</I
+>target_pattern</I
 ></TT
-> is a domain name pattern (see the
-    chapter on domain matching in the <TT
-CLASS="FILENAME"
->default.action</TT
-> file),
+> is a <A
+HREF="actions-file.html#AF-PATTERNS"
+>URL pattern</A
+> 
+    that specifies to which requests (i.e. URLs) this forward rule shall apply. Use <TT
+CLASS="LITERAL"
+>/</TT
+> to
+    denote <SPAN
+CLASS="QUOTE"
+>"all URLs"</SPAN
+>.
     <TT
 CLASS="REPLACEABLE"
 ><I
 >http_parent</I
 ></TT
-> is the address of the parent HTTP proxy
-    as an IP addresses in dotted decimal notation or as a valid DNS name (or <SPAN
-CLASS="QUOTE"
->"."</SPAN
-> to denote
-    <SPAN
-CLASS="QUOTE"
->"no forwarding"</SPAN
->, and the optional 
-    <TT
+>[:<TT
 CLASS="REPLACEABLE"
 ><I
 >port</I
 ></TT
-> parameters are TCP ports, i.e. integer
-    values from 1 to 64535
+>]
+    is the DNS name or IP address of the parent HTTP proxy through which the requests should be forwarded,
+    optionally followed by its listening port (default: 8080).
+    Use a single dot (<TT
+CLASS="LITERAL"
+>.</TT
+>) to denote <SPAN
+CLASS="QUOTE"
+>"no forwarding"</SPAN
+>.
    </P
 ></DD
 ><DT
 >Default value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Unset</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -2249,7 +2484,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->  forward   .*     anon-proxy.example.org:8080
+>  forward        anon-proxy.example.org:8080
   forward   :443   .</PRE
 ></TD
 ></TR
@@ -2269,7 +2504,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->  forward   .*.                caching-proxy.example-isp.net:8000
+>  forward   /                  caching-proxy.example-isp.net:8000
   forward   .example-isp.net   .</PRE
 ></TD
 ></TR
@@ -2286,8 +2521,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SOCKS"
->7.5.2. forward-socks4 and forward-socks4a</A
-></H4
+></A
+>7.5.2. forward-socks4 and forward-socks4a</H4
 ><A
 NAME="FORWARD-SOCKS4"
 ></A
@@ -2313,20 +2548,15 @@ CLASS="VARIABLELIST"
 >    <TT
 CLASS="REPLACEABLE"
 ><I
->target_domain</I
+>target_pattern</I
 ></TT
->[:<TT
-CLASS="REPLACEABLE"
-><I
->port</I
-></TT
->]
+>
     <TT
 CLASS="REPLACEABLE"
 ><I
 >socks_proxy</I
 ></TT
->[/<TT
+>[:<TT
 CLASS="REPLACEABLE"
 ><I
 >port</I
@@ -2337,7 +2567,7 @@ CLASS="REPLACEABLE"
 ><I
 >http_parent</I
 ></TT
->[/<TT
+>[:<TT
 CLASS="REPLACEABLE"
 ><I
 >port</I
@@ -2345,16 +2575,23 @@ CLASS="REPLACEABLE"
 >]
    </P
 ><P
->    Where <TT
+>    where <TT
 CLASS="REPLACEABLE"
 ><I
->target_domain</I
+>target_pattern</I
 ></TT
-> is a domain name pattern (see the
-    chapter on domain matching in the <TT
-CLASS="FILENAME"
->default.action</TT
-> file),
+> is a <A
+HREF="actions-file.html#AF-PATTERNS"
+>URL pattern</A
+> 
+    that specifies to which requests (i.e. URLs) this forward rule shall apply. Use <TT
+CLASS="LITERAL"
+>/</TT
+> to
+    denote <SPAN
+CLASS="QUOTE"
+>"all URLs"</SPAN
+>.
     <TT
 CLASS="REPLACEABLE"
 ><I
@@ -2391,9 +2628,12 @@ CLASS="REPLACEABLE"
 >Default value:</DT
 ><DD
 ><P
+><SPAN
+CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >Unset</I
+></SPAN
 ></P
 ></DD
 ><DT
@@ -2455,7 +2695,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->  forward-socks4a   .*.            socks-gw.example.com:1080  www-cache.example-isp.net:8080
+>  forward-socks4a   /              socks-gw.example.com:1080  www-cache.example-isp.net:8080
   forward           .example.com   .</PRE
 ></TD
 ></TR
@@ -2474,7 +2714,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->  forward-socks4   .*.            socks-gw.example.com:1080  .</PRE
+>  forward-socks4   /               socks-gw.example.com:1080  .</PRE
 ></TD
 ></TR
 ></TABLE
@@ -2490,8 +2730,8 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="ADVANCED-FORWARDING-EXAMPLES"
->7.5.3. Advanced Forwarding Examples</A
-></H4
+></A
+>7.5.3. Advanced Forwarding Examples</H4
 ><P
 > If you have links to multiple ISPs that provide various special content 
  only to their subscribers, you can configure multiple <SPAN
@@ -2499,9 +2739,12 @@ CLASS="APPLICATION"
 >Privoxies</SPAN
 >
  which have connections to the respective ISPs to act as forwarders to each other, so that
- <I
+ <SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >your</I
+></SPAN
 > users can see the internal content of all ISPs.</P
 ><P
 > Assume that host-a has a PPP connection to isp-a.net. And host-b has a PPP connection to
@@ -2521,7 +2764,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->  forward    .*.         .
+>  forward    /           .
   forward    .isp-b.net  host-b:8118</PRE
 ></TD
 ></TR
@@ -2538,7 +2781,7 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->  forward    .*.         .
+>  forward    /           .
   forward    .isp-a.net  host-a:8118</PRE
 ></TD
 ></TR
@@ -2569,7 +2812,10 @@ CLASS="APPLICATION"
 CLASS="APPLICATION"
 >squid</SPAN
 >
- run on the same box, your squid configuration could then look like this:</P
+ run on the same box, your <SPAN
+CLASS="APPLICATION"
+>squid</SPAN
+> configuration could then look like this:</P
 ><P
 > <TABLE
 BORDER="0"
@@ -2606,6 +2852,27 @@ CLASS="LITERAL"
 CLASS="FILENAME"
 >squid.conf</TT
 >.</P
+><P
+> You could just as well decide to only forward requests for Windows executables through
+ a virus-scanning parent proxy, say, on <TT
+CLASS="LITERAL"
+>antivir.example.com</TT
+>, port 8010:</P
+><P
+> <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  forward   /                          .
+  forward   /.*\.(exe|com|dll|zip)$    antivir.example.com:8010</PRE
+></TD
+></TR
+></TABLE
+> </P
 ></DIV
 ></DIV
 ><DIV
@@ -2614,8 +2881,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="WINDOWS-GUI"
->7.6. Windows GUI Options</A
-></H2
+></A
+>7.6. Windows GUI Options</H2
 ><P
 > <SPAN
 CLASS="APPLICATION"
@@ -2643,9 +2910,12 @@ CLASS="QUOTE"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >activity-animation   1</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2669,9 +2939,12 @@ CLASS="APPLICATION"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >log-messages       1</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2699,9 +2972,12 @@ CLASS="QUOTE"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >log-buffer-size      1</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2721,9 +2997,12 @@ CLASS="APPLICATION"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >log-max-lines      200</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2747,9 +3026,12 @@ CLASS="APPLICATION"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >log-highlight-messages   1</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2765,9 +3047,12 @@ NAME="LOG-FONT-NAME"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >log-font-name        Comic Sans MS</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2783,9 +3068,12 @@ NAME="LOG-FONT-SIZE"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >log-font-size        8</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2810,9 +3098,12 @@ CLASS="APPLICATION"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >show-on-task-bar     0</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2836,9 +3127,12 @@ CLASS="APPLICATION"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
+>&nbsp;&nbsp;<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >close-button-minimizes  1</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2866,9 +3160,12 @@ CLASS="APPLICATION"
 CLASS="LITERAL"
 >  <P
 CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;#<I
+>&nbsp;&nbsp;#<SPAN
+CLASS="emphasis"
+><I
 CLASS="EMPHASIS"
 >hide-console</I
+></SPAN
 ><br>
 &nbsp;&nbsp;&nbsp;</P
 > 
@@ -2881,6 +3178,7 @@ CLASS="NAVFOOTER"
 ><HR
 ALIGN="LEFT"
 WIDTH="100%"><TABLE
+SUMMARY="Footer navigation table"
 WIDTH="100%"
 BORDER="0"
 CELLPADDING="0"
@@ -2892,6 +3190,7 @@ ALIGN="left"
 VALIGN="top"
 ><A
 HREF="configuration.html"
+ACCESSKEY="P"
 >Prev</A
 ></TD
 ><TD
@@ -2900,6 +3199,7 @@ ALIGN="center"
 VALIGN="top"
 ><A
 HREF="index.html"
+ACCESSKEY="H"
 >Home</A
 ></TD
 ><TD
@@ -2908,6 +3208,7 @@ ALIGN="right"
 VALIGN="top"
 ><A
 HREF="actions-file.html"
+ACCESSKEY="N"
 >Next</A
 ></TD
 ></TR