generated
authorswa <swa@users.sourceforge.net>
Sun, 28 Apr 2002 17:24:53 +0000 (17:24 +0000)
committerswa <swa@users.sourceforge.net>
Sun, 28 Apr 2002 17:24:53 +0000 (17:24 +0000)
23 files changed:
doc/pdf/privoxy-developer-manual.pdf
doc/pdf/privoxy-faq.pdf
doc/pdf/privoxy-user-manual.pdf
doc/text/developer-manual.txt
doc/text/faq.txt
doc/text/user-manual.txt
doc/webserver/developer-manual/contact.html
doc/webserver/developer-manual/seealso.html
doc/webserver/faq/contact.html
doc/webserver/faq/misc.html
doc/webserver/index.html
doc/webserver/user-manual/actions-file.html [new file with mode: 0644]
doc/webserver/user-manual/appendix.html
doc/webserver/user-manual/config.html [new file with mode: 0644]
doc/webserver/user-manual/configuration.html
doc/webserver/user-manual/contact.html
doc/webserver/user-manual/copyright.html
doc/webserver/user-manual/filter-file.html [new file with mode: 0644]
doc/webserver/user-manual/index.html
doc/webserver/user-manual/seealso.html
doc/webserver/user-manual/startup.html
doc/webserver/user-manual/templates.html [new file with mode: 0644]
doc/webserver/user-manual/upgradersnote.html

index 599db51..7eb08a2 100644 (file)
Binary files a/doc/pdf/privoxy-developer-manual.pdf and b/doc/pdf/privoxy-developer-manual.pdf differ
index 686d39c..cf1ab34 100644 (file)
Binary files a/doc/pdf/privoxy-faq.pdf and b/doc/pdf/privoxy-faq.pdf differ
index a3e60a0..ee11831 100644 (file)
Binary files a/doc/pdf/privoxy-user-manual.pdf and b/doc/pdf/privoxy-user-manual.pdf differ
index ac5f2e8..106885c 100644 (file)
@@ -1930,7 +1930,6 @@ note the following sections.
 To get support, use the Sourceforge Support Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=211118
 To get support, use the Sourceforge Support Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=211118
-   
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
@@ -1939,7 +1938,6 @@ To get support, use the Sourceforge Support Forum:
 To submit bugs, use the Sourceforge Bug Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=111118. 
 To submit bugs, use the Sourceforge Bug Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=111118. 
-    
 
 Make sure that the bug has not already been submitted. Please try to verify
 that it is a Privoxy bug, and not a browser or site bug first. If you are using
 
 Make sure that the bug has not already been submitted. Please try to verify
 that it is a Privoxy bug, and not a browser or site bug first. If you are using
@@ -1957,7 +1955,6 @@ reproduce the bug.
 To submit ideas on new features, use the Sourceforge feature request forum:
 
     http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse.
 To submit ideas on new features, use the Sourceforge feature request forum:
 
     http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse.
-   
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
@@ -1978,7 +1975,6 @@ your feedback. These will be announced on the ijbswa-announce list.
 For any other issues, feel free to use the mailing lists:
  
     http://sourceforge.net/mail/?group_id=11118.
 For any other issues, feel free to use the mailing lists:
  
     http://sourceforge.net/mail/?group_id=11118.
 
 Anyone interested in actively participating in development and related
 discussions can also join the appropriate mailing list. Archives are available,
 
 Anyone interested in actively participating in development and related
 discussions can also join the appropriate mailing list. Archives are available,
@@ -2033,8 +2029,8 @@ Sourceforge.
 http://p.p/, access Privoxy from your browser. Alternately, http://            
 config.privoxy.org may work in some situations where the first does not.       
 
 http://p.p/, access Privoxy from your browser. Alternately, http://            
 config.privoxy.org may work in some situations where the first does not.       
 
-http://p.p/, and select "actions file feedback system" to submit "misses" to   
-the developers.                                                                
+http://p.p/, and select "Privoxy - Submit Filter Feedback" to submit "misses"  
+to the developers.                                                             
 
 http://www.junkbusters.com/ht/en/cookies.html
 
 
 http://www.junkbusters.com/ht/en/cookies.html
 
index 75c5ac1..b267ce6 100644 (file)
@@ -822,8 +822,8 @@ Sourceforge.
 http://p.p/, access Privoxy from your browser. Alternately, http://            
 config.privoxy.org may work in some situations where the first does not.       
 
 http://p.p/, access Privoxy from your browser. Alternately, http://            
 config.privoxy.org may work in some situations where the first does not.       
 
-http://p.p/, and select "actions file feedback system" to submit "misses" to   
-the developers.                                                                
+http://p.p/, and select "Privoxy - Submit Filter Feedback" to submit "misses"  
+to the developers.                                                             
 
 http://www.junkbusters.com/ht/en/cookies.html
 
 
 http://www.junkbusters.com/ht/en/cookies.html
 
@@ -910,7 +910,6 @@ note the following sections.
 To get support, use the Sourceforge Support Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=211118
 To get support, use the Sourceforge Support Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=211118
-   
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
@@ -919,7 +918,6 @@ To get support, use the Sourceforge Support Forum:
 To submit bugs, use the Sourceforge Bug Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=111118. 
 To submit bugs, use the Sourceforge Bug Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=111118. 
-    
 
 Make sure that the bug has not already been submitted. Please try to verify
 that it is a Privoxy bug, and not a browser or site bug first. If you are using
 
 Make sure that the bug has not already been submitted. Please try to verify
 that it is a Privoxy bug, and not a browser or site bug first. If you are using
@@ -937,7 +935,6 @@ reproduce the bug.
 To submit ideas on new features, use the Sourceforge feature request forum:
 
     http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse.
 To submit ideas on new features, use the Sourceforge feature request forum:
 
     http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse.
-   
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
@@ -958,7 +955,6 @@ your feedback. These will be announced on the ijbswa-announce list.
 For any other issues, feel free to use the mailing lists:
  
     http://sourceforge.net/mail/?group_id=11118.
 For any other issues, feel free to use the mailing lists:
  
     http://sourceforge.net/mail/?group_id=11118.
 
 Anyone interested in actively participating in development and related
 discussions can also join the appropriate mailing list. Archives are available,
 
 Anyone interested in actively participating in development and related
 discussions can also join the appropriate mailing list. Archives are available,
index f1bb81f..f4fbceb 100644 (file)
@@ -2,7 +2,7 @@ Privoxy User Manual
 
 By: Privoxy Developers
 
 
 By: Privoxy Developers
 
-$Id: user-manual.sgml,v 1.95 2002/04/26 17:23:29 swa Exp $
+$Id: user-manual.sgml,v 1.99 2002/04/28 16:59:05 swa Exp $
 
 The user manual gives users information on how to install, configure and use 
 Privoxy.
 
 The user manual gives users information on how to install, configure and use 
 Privoxy.
@@ -41,117 +41,126 @@ Table of Contents
 5. Quickstart to Using Privoxy
 6. Starting Privoxy
    
 5. Quickstart to Using Privoxy
 6. Starting Privoxy
    
-    6.1. Command Line Options
+    6.1. RedHat and Debian
+    6.2. SuSE
+    6.3. Windows
+    6.4. Solaris, NetBSD, FreeBSD, HP-UX and others
+    6.5. OS/2
+    6.6. MAX OSX
+    6.7. AmigaOS
+    6.8. Command Line Options
    
 7. Privoxy Configuration
    
     7.1. Controlling Privoxy with Your Web Browser
     7.2. Configuration Files Overview
    
 7. Privoxy Configuration
    
     7.1. Controlling Privoxy with Your Web Browser
     7.2. Configuration Files Overview
-    7.3. The Main Configuration File
+   
+8. The Main Configuration File
+   
+    8.1. Configuration and Log File Locations
+       
+        8.1.1. confdir
+        8.1.2. logdir
+        8.1.3. actionsfile
+        8.1.4. filterfile
+        8.1.5. logfile
+        8.1.6. jarfile
+        8.1.7. trustfile
+        8.1.8. user-manual
+       
+    8.2. Local Set-up Documentation
+       
+        8.2.1. trust-info-url
+        8.2.2. admin-address
+        8.2.3. proxy-info-url
+       
+    8.3. Debugging
        
        
-        7.3.1. Configuration and Log File Locations
-           
-            7.3.1.1. confdir
-            7.3.1.2. logdir
-            7.3.1.3. actionsfile
-            7.3.1.4. filterfile
-            7.3.1.5. logfile
-            7.3.1.6. jarfile
-            7.3.1.7. trustfile
-           
-        7.3.2. Local Set-up Documentation
-           
-            7.3.2.1. trust-info-url
-            7.3.2.2. admin-address
-            7.3.2.3. proxy-info-url
-           
-        7.3.3. Debugging
-           
-            7.3.3.1. debug
-            7.3.3.2. single-threaded
-           
-        7.3.4. Access Control and Security
-           
-            7.3.4.1. listen-address
-            7.3.4.2. toggle
-            7.3.4.3. enable-remote-toggle
-            7.3.4.4. enable-edit-actions
-            7.3.4.5. ACLs: permit-access and deny-access
-            7.3.4.6. buffer-limit
-           
-        7.3.5. Forwarding
-           
-            7.3.5.1. forward
-            7.3.5.2. forward-socks4 and forward-socks4a
-            7.3.5.3. Advanced Forwarding Examples
-           
-        7.3.6. Windows GUI Options
+        8.3.1. debug
+        8.3.2. single-threaded
        
        
-    7.4. Actions Files
+    8.4. Access Control and Security
+       
+        8.4.1. listen-address
+        8.4.2. toggle
+        8.4.3. enable-remote-toggle
+        8.4.4. enable-edit-actions
+        8.4.5. ACLs: permit-access and deny-access
+        8.4.6. buffer-limit
+       
+    8.5. Forwarding
+       
+        8.5.1. forward
+        8.5.2. forward-socks4 and forward-socks4a
+        8.5.3. Advanced Forwarding Examples
+       
+    8.6. Windows GUI Options
+   
+9. Actions Files
+   
+    9.1. Finding the Right Mix
+    9.2. How to Edit
+    9.3. How Actions are Applied to URLs
+    9.4. Patterns
        
        
-        7.4.1. Finding the Right Mix
-        7.4.2. How to Edit
-        7.4.3. How Actions are Applied to URLs
-        7.4.4. Patterns
-           
-            7.4.4.1. The Domain Pattern
-            7.4.4.2. The Path Pattern
-           
-        7.4.5. Actions
-           
-            7.4.5.1. +add-header
-            7.4.5.2. +block
-            7.4.5.3. +deanimate-gifs
-            7.4.5.4. +downgrade-http-version
-            7.4.5.5. +fast-redirects
-            7.4.5.6. +filter
-            7.4.5.7. +hide-forwarded-for-headers
-            7.4.5.8. +hide-from-header
-            7.4.5.9. +hide-referer
-            7.4.5.10. +hide-user-agent
-            7.4.5.11. +handle-as-image
-            7.4.5.12. +set-image-blocker
-            7.4.5.13. +limit-connect
-            7.4.5.14. +prevent-compression
-            7.4.5.15. +session-cookies-only
-            7.4.5.16. +prevent-reading-cookies
-            7.4.5.17. +prevent-setting-cookies
-            7.4.5.18. +kill-popups
-            7.4.5.19. +send-vanilla-wafer
-            7.4.5.20. +send-wafer
-            7.4.5.21. Actions Examples
-           
-        7.4.6. Aliases
+        9.4.1. The Domain Pattern
+        9.4.2. The Path Pattern
        
        
-    7.5. The Filter File
+    9.5. Actions
        
        
-        7.5.1. The +filter Action
+        9.5.1. +add-header
+        9.5.2. +block
+        9.5.3. +deanimate-gifs
+        9.5.4. +downgrade-http-version
+        9.5.5. +fast-redirects
+        9.5.6. +filter
+        9.5.7. +hide-forwarded-for-headers
+        9.5.8. +hide-from-header
+        9.5.9. +hide-referer
+        9.5.10. +hide-user-agent
+        9.5.11. +handle-as-image
+        9.5.12. +set-image-blocker
+        9.5.13. +limit-connect
+        9.5.14. +prevent-compression
+        9.5.15. +session-cookies-only
+        9.5.16. +prevent-reading-cookies
+        9.5.17. +prevent-setting-cookies
+        9.5.18. +kill-popups
+        9.5.19. +send-vanilla-wafer
+        9.5.20. +send-wafer
+        9.5.21. Summary
+        9.5.22. Sample Actions Files
        
        
-    7.6. Templates
+    9.6. Aliases
    
    
-8. Contacting the Developers, Bug Reporting and Feature Requests
+10. The Filter File
    
    
-    8.1. Get Support
-    8.2. Report bugs
-    8.3. Request new features
-    8.4. Report ads or other filter problems
-    8.5. Other
+    10.1. The +filter Action
    
    
-9. Copyright and History
+11. Templates
+12. Contacting the Developers, Bug Reporting and Feature Requests
    
    
-    9.1. Copyright
-    9.2. History
+    12.1. Get Support
+    12.2. Report bugs
+    12.3. Request new features
+    12.4. Report ads or other filter problems
+    12.5. Other
    
    
-10. See Also
-11. Appendix
+13. Copyright and History
    
    
-    11.1. Regular Expressions
-    11.2. Privoxy's Internal Pages
+    13.1. Copyright
+    13.2. History
+   
+14. See Also
+15. Appendix
+   
+    15.1. Regular Expressions
+    15.2. Privoxy's Internal Pages
        
        
-        11.2.1. Bookmarklets
+        15.2.1. Bookmarklets
        
        
-    11.3. Chain of Events
-    11.4. Anatomy of an Action
+    15.3. Chain of Events
+    15.4. Anatomy of an Action
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
@@ -355,10 +364,10 @@ A quick list of things to be aware of before upgrading:
     can be done here, including temporarily disabling Privoxy.
    
   * The primary configuration file for cookie management, ad and banner
     can be done here, including temporarily disabling Privoxy.
    
   * The primary configuration file for cookie management, ad and banner
-    blocking, and many other aspects of Privoxy configuration is in the
-    "actions" files. It is strongly recommended to become familiar with the new
-    actions concept below, before modifying these files. Locally defined rules
-    should go into user.action.
+    blocking, and many other aspects of Privoxy configuration is in the actions
+    files. It is strongly recommended to become familiar with the new actions
+    concept below, before modifying these files. Locally defined rules should
+    go into user.action.
    
   * Some installers may not automatically start Privoxy after installation.
    
    
   * Some installers may not automatically start Privoxy after installation.
    
@@ -398,80 +407,66 @@ re-reading of all pages and to get rid of any ads that may be cached. You are
 now ready to start enjoying the benefits of using Privoxy!
 
 Privoxy is typically started by specifying the main configuration file to be
 now ready to start enjoying the benefits of using Privoxy!
 
 Privoxy is typically started by specifying the main configuration file to be
-used on the command line. Example Unix startup command:
+used on the command line. If no configuration file is specified on the command
+line, Privoxy will look for a file named config in the current directory.
+Except on Win32 where it will try config.txt.
 
 
- # /usr/sbin/privoxy /etc/privoxy/config                                       
+-------------------------------------------------------------------------------
+
+6.1. RedHat and Debian
+
+We use a script. Note that RedHat does not start Privoxy upon booting per
+default. It will use the file /etc/privoxy/config as its main configuration
+file. FIXME: Debian??
+
+ # /etc/rc.d/init.d/privoxy start                                              
+
+-------------------------------------------------------------------------------
+
+6.2. SuSE
+
+We use a script. It will use the file /etc/privoxy/config as its main
+configuration file. Note that SuSE starts Privoxy upon booting your PC.
+
+ # rcprivoxy start                                                             
 
 
-See below for other command line options.
+-------------------------------------------------------------------------------
+
+6.3. Windows
+
+Click on the Privoxy Icon to start Privoxy. If no configuration file is
+specified on the command line, Privoxy will look for a file named config.txt.
+Note that Windows will automatically start Privoxy upon booting you PC.
 
 
-An init script is provided for SuSE and Red Hat.
+-------------------------------------------------------------------------------
 
 
-For for SuSE: rcprivoxy start
+6.4. Solaris, NetBSD, FreeBSD, HP-UX and others
 
 
-For Red Hat and Debian: /etc/rc.d/init.d/privoxy start
+Example Unix startup command:
 
 
-If no configuration file is specified on the command line, Privoxy will look
-for a file named config in the current directory. Except on Win32 where it will
-try config.txt. If no file is specified on the command line and no default
-configuration file can be found, Privoxy will fail to start.
+ # /usr/sbin/privoxy /etc/privoxy/config                                       
 
 
-The included default configuration files should give a reasonable starting
-point. Most of the per site configuration is done in the "actions" files. These
-are where various cookie actions are defined, ad and banner blocking, and other
-aspects of Privoxy configuration. There are several such files included, with
-varying levels of aggressiveness.
+-------------------------------------------------------------------------------
 
 
-You will probably want to keep an eye out for sites for which you may prefer
-persistent cookies, and add these to your actions configuration as needed. By
-default, most of these will be accepted only during the current browser session
-(aka "session cookies"), unless you add them to the configuration. If you want
-the browser to handle this instead, you will need to edit user.action (or
-through the web based interface) and disable this feature. If you use more than
-one browser, it would make more sense to let Privoxy handle this. In which
-case, the browser(s) should be set to accept all cookies.
+6.5. OS/2
 
 
-Another feature where you will probably want to define exceptions for trusted
-sites is the popup-killing (through the +popup and +filter{popups} actions),
-because your favorite shopping, banking, or leisure site may need popups
-(explained below).
+FIXME.
 
 
-Privoxy is HTTP/1.1 compliant, but not all of the optional 1.1 features are as
-yet supported. In the unlikely event that you experience inexplicable problems
-with browsers that use HTTP/1.1 per default (like Mozilla or recent versions of
-I.E.), you might try to force HTTP/1.0 compatibility. For Mozilla, look under
-Edit -> Preferences -> Debug -> Networking. Alternatively, set the
-"+downgrade-http-version" config option in default.action which will downgrade
-your browser's HTTP requests from HTTP/1.1 to HTTP/1.0 before processing them.
+-------------------------------------------------------------------------------
 
 
-After running Privoxy for a while, you can start to fine tune the configuration
-to suit your personal, or site, preferences and requirements. There are many,
-many aspects that can be customized. "Actions" can be adjusted by pointing your
-browser to http://config.privoxy.org/ (shortcut: http://p.p/), and then follow
-the link to "View & Change the Current Configuration". (This is an internal
-page and does not require Internet access.)
+6.6. MAX OSX
 
 
-In fact, various aspects of Privoxy configuration can be viewed from this page,
-including current configuration parameters, source code version numbers, the
-browser's request headers, and "actions" that apply to a given URL. In addition
-to the actions file editor mentioned above, Privoxy can also be turned "on" and
-"off" (toggled) from this page.
+FIXME.
 
 
-If you encounter problems, try loading the page without Privoxy. If that helps,
-enter the URL where you have the problems into the browser based rule tracing
-utility. See which rules apply and why, and then try turning them off for that
-site one after the other, until the problem is gone. When you have found the
-culprit, you might want to turn the rest on again.
+-------------------------------------------------------------------------------
 
 
-If the above paragraph sounds gibberish to you, you might want to read more
-about the actions concept or even dive deep into the Appendix on actions.
+6.7. AmigaOS
 
 
-If you can't get rid of the problem at all, think you've found a bug in
-Privoxy, want to propose a new feature or smarter rules, please see the section
-"Contacting the Developers" below.
+FIXME.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-6.1. Command Line Options
+6.8. Command Line Options
 
 Privoxy may be invoked with the following command-line options:
 
 
 Privoxy may be invoked with the following command-line options:
 
@@ -524,11 +519,11 @@ config.privoxy.org/ (shortcut: http://p.p/), which is a built-in page and works
 without Internet access. You will see the following section: 
 
  Privoxy Menu                                                                  
 without Internet access. You will see the following section: 
 
  Privoxy Menu                                                                  
-        ?  View & change the current configuration                             
-        ?  View the source code version numbers                                
-        ?  View the request headers.                                           
-        ?  Look up which actions apply to a URL and why                        
-        ?  Toggle Privoxy on or off                                            
+        ??  View & change the current configuration                            
+        ??  View the source code version numbers                               
+        ??  View the request headers.                                          
+        ??  Look up which actions apply to a URL and why                       
+        ??  Toggle Privoxy on or off                                           
                                                                                
 
 This should be self-explanatory. Note the first item leads to an editor for the
                                                                                
 
 This should be self-explanatory. Note the first item leads to an editor for the
@@ -604,7 +599,7 @@ configuration files on important issues.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.3. The Main Configuration File
+8. The Main Configuration File
 
 Again, the main configuration file is named config on Linux/Unix/BSD and OS/2,
 and config.txt on Windows. Configuration lines consist of an initial keyword
 
 Again, the main configuration file is named config on Linux/Unix/BSD and OS/2,
 and config.txt on Windows. Configuration lines consist of an initial keyword
@@ -626,15 +621,15 @@ surfing).
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.3.1. Configuration and Log File Locations
+8.1. Configuration and Log File Locations
 
 Privoxy can (and normally does) use a number of other files for additional
 
 Privoxy can (and normally does) use a number of other files for additional
-configuration and logging. This section of the configuration file tells Privoxy
-where to find those other files.
+configuration, help and logging. This section of the configuration file tells
+Privoxy where to find those other files.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.3.1.1. confdir
+8.1.1. confdir
 
 Specifies:
    
 
 Specifies:
    
@@ -664,7 +659,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.1.2. logdir
+8.1.2. logdir
 
 Specifies:
    
 
 Specifies:
    
@@ -689,7 +684,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.1.3. actionsfile
+8.1.3. actionsfile
 
 Specifies:
    
 
 Specifies:
    
@@ -713,18 +708,20 @@ Effect if unset:
    
 Notes:
    
    
 Notes:
    
-    Multiple actionsfile lines are OK and are in fact recommended!
+    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 user.action, where you can make your
     personal additions.
    
    
     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 user.action, where you can make your
     personal additions.
    
-    There is no point in using Privoxy without an actions file.
+    Actions files are where all the per site and per URL configuration is done
+    for ad blocking, cookie management, privacy considerations, etc. There is
+    no point in using Privoxy without at least one actions file.
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.1.4. filterfile
+8.1.4. filterfile
 
 Specifies:
    
 
 Specifies:
    
@@ -753,7 +750,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.1.5. logfile
+8.1.5. logfile
 
 Specifies:
    
 
 Specifies:
    
@@ -791,7 +788,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.1.6. jarfile
+8.1.6. jarfile
 
 Specifies:
    
 
 Specifies:
    
@@ -815,7 +812,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.1.7. trustfile
+8.1.7. trustfile
 
 Specifies:
    
 
 Specifies:
    
@@ -850,7 +847,37 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.2. Local Set-up Documentation
+8.1.8. user-manual
+
+Specifies:
+   
+    Location of the Privoxy User Manual.
+   
+Type of value:
+   
+    A fully qualified URI
+   
+Default value:
+   
+    http://www.privoxy.org/user-manual/
+   
+Effect if unset:
+   
+    The default will be used.
+   
+Notes:
+   
+    The User Manual is used for help hints from some of the internal CGI pages.
+    It is normally packaged with the binary distributions, and would make more
+    sense to have this pointed at a locally installed copy.
+   
+    A more useful example (Unix):
+   
+      user-manual  file:///usr/share/doc/privoxy-2.9.14/user-manual/
+   
+-------------------------------------------------------------------------------
+
+8.2. Local Set-up Documentation
 
 If you intend to operate Privoxy for more users that just yourself, it might be
 a good idea to let them know how to reach you, what you block and why you do
 
 If you intend to operate Privoxy for more users that just yourself, it might be
 a good idea to let them know how to reach you, what you block and why you do
@@ -858,7 +885,7 @@ that, your policies etc.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.3.2.1. trust-info-url
+8.2.1. trust-info-url
 
 Specifies:
    
 
 Specifies:
    
@@ -892,7 +919,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.2.2. admin-address
+8.2.2. admin-address
 
 Specifies:
    
 
 Specifies:
    
@@ -917,7 +944,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.2.3. proxy-info-url
+8.2.3. proxy-info-url
 
 Specifies:
    
 
 Specifies:
    
@@ -946,7 +973,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.3. Debugging
+8.3. Debugging
 
 These options are mainly useful when tracing a problem. Note that you might
 also want to invoke Privoxy with the --no-daemon command line option when
 
 These options are mainly useful when tracing a problem. Note that you might
 also want to invoke Privoxy with the --no-daemon command line option when
@@ -954,7 +981,7 @@ debugging.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.3.3.1. debug
+8.3.1. debug
 
 Specifies:
    
 
 Specifies:
    
@@ -1007,7 +1034,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.3.2. single-threaded
+8.3.2. single-threaded
 
 Specifies:
    
 
 Specifies:
    
@@ -1033,14 +1060,14 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.4. Access Control and Security
+8.4. Access Control and Security
 
 This section of the config file controls the security-relevant aspects of
 Privoxy's configuration.
 
 -------------------------------------------------------------------------------
 
 
 This section of the config file controls the security-relevant aspects of
 Privoxy's configuration.
 
 -------------------------------------------------------------------------------
 
-7.3.4.1. listen-address
+8.4.1. listen-address
 
 Specifies:
    
 
 Specifies:
    
@@ -1084,7 +1111,7 @@ Example:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.4.2. toggle
+8.4.2. toggle
 
 Specifies:
    
 
 Specifies:
    
@@ -1107,14 +1134,14 @@ Notes:
     If set to 0, Privoxy will start in "toggled off" mode, i.e. behave like a
     normal, content-neutral proxy. See enable-remote-toggle below. This is not
     really useful anymore, since toggling is much easier via the web interface
     If set to 0, Privoxy will start in "toggled off" mode, i.e. behave like a
     normal, content-neutral proxy. See enable-remote-toggle below. This is not
     really useful anymore, since toggling is much easier via the web interface
-    then via editing the conf file.
+    than via editing the conf file.
    
     The windows version will only display the toggle icon in the system tray if
     this option is present.
    
 -------------------------------------------------------------------------------
 
    
     The windows version will only display the toggle icon in the system tray if
     this option is present.
    
 -------------------------------------------------------------------------------
 
-7.3.4.3. enable-remote-toggle
+8.4.3. enable-remote-toggle
 
 Specifies:
    
 
 Specifies:
    
@@ -1148,7 +1175,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.4.4. enable-edit-actions
+8.4.4. enable-edit-actions
 
 Specifies:
    
 
 Specifies:
    
@@ -1179,7 +1206,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.4.5. ACLs: permit-access and deny-access
+8.4.5. ACLs: permit-access and deny-access
 
 Specifies:
    
 
 Specifies:
    
@@ -1257,7 +1284,7 @@ Examples:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.4.6. buffer-limit
+8.4.6. buffer-limit
 
 Specifies:
    
 
 Specifies:
    
@@ -1291,7 +1318,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.5. Forwarding
+8.5. Forwarding
 
 This feature allows routing of HTTP requests through a chain of multiple
 proxies. It can be used to better protect privacy and confidentiality when
 
 This feature allows routing of HTTP requests through a chain of multiple
 proxies. It can be used to better protect privacy and confidentiality when
@@ -1306,7 +1333,7 @@ Also specified here are SOCKS proxies. Privoxy supports the SOCKS 4 and SOCKS
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.3.5.1. forward
+8.5.1. forward
 
 Specifies:
    
 
 Specifies:
    
@@ -1354,7 +1381,7 @@ Examples:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.5.2. forward-socks4 and forward-socks4a
+8.5.2. forward-socks4 and forward-socks4a
 
 Specifies:
    
 
 Specifies:
    
@@ -1408,7 +1435,7 @@ Examples:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.3.5.3. Advanced Forwarding Examples
+8.5.3. Advanced Forwarding Examples
 
 If you have links to multiple ISPs that provide various special content only to
 their subscribers, you can configure multiple Privoxies which have connections
 
 If you have links to multiple ISPs that provide various special content only to
 their subscribers, you can configure multiple Privoxies which have connections
@@ -1456,7 +1483,7 @@ squid.conf.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.3.6. Windows GUI Options
+8.6. Windows GUI Options
 
 Privoxy has a number of options specific to the Windows GUI interface:
 
 
 Privoxy has a number of options specific to the Windows GUI interface:
 
@@ -1524,7 +1551,7 @@ console.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.4. Actions Files
+9. Actions Files
 
 The actions files are used to define what actions Privoxy takes for which URLs,
 and thus determines how ad images, cookies and various other aspects of HTTP
 
 The actions files are used to define what actions Privoxy takes for which URLs,
 and thus determines how ad images, cookies and various other aspects of HTTP
@@ -1549,17 +1576,17 @@ defined universal policies.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.4.1. Finding the Right Mix
+9.1. Finding the Right Mix
 
 
-Note that some actions like cookie suppression or script disabling may render
-some sites unusable, which rely on these techniques to work properly. Finding
-the right mix of actions is not easy and certainly a matter of personal taste.
-In general, it can be said that the more "aggressive" your default settings (in
-the top section of the actions file) are, the more exceptions for "trusted"
-sites you will have to make later. If, for example, you want to kill popup
-windows per default, you'll have to make exceptions from that rule for sites
-that you regularly use and that require popups for actually useful content,
-like maybe your bank, favorite shop, or newspaper.
+Note that some actions, like cookie suppression or script disabling, may render
+some sites unusable that rely on these techniques to work properly. Finding the
+right mix of actions is not always easy and certainly a matter of personal
+taste. In general, it can be said that the more "aggressive" your default
+settings (in the top section of the actions file) are, the more exceptions for
+"trusted" sites you will have to make later. If, for example, you want to kill
+popup windows per default, you'll have to make exceptions from that rule for
+sites that you regularly use and that require popups for actually useful
+content, like maybe your bank, favorite shop, or newspaper.
 
 We have tried to provide you with reasonable rules to start from in the
 distribution actions files. But there is no general rule of thumb on these
 
 We have tried to provide you with reasonable rules to start from in the
 distribution actions files. But there is no general rule of thumb on these
@@ -1569,7 +1596,7 @@ Sooner or later you will want to change the rules (and read this chapter again
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.4.2. How to Edit
+9.2. How to Edit
 
 The easiest way to edit the "actions" files is with a browser by using our
 browser-based editor, which can be reached from http://config.privoxy.org/
 
 The easiest way to edit the "actions" files is with a browser by using our
 browser-based editor, which can be reached from http://config.privoxy.org/
@@ -1580,7 +1607,7 @@ the the actions files.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.4.3. How Actions are Applied to URLs
+9.3. How Actions are Applied to URLs
 
 Actions files are divided into sections. There are special sections, like the "
 alias" sections which will be discussed later. For now let's concentrate on
 
 Actions files are divided into sections. There are special sections, like the "
 alias" sections which will be discussed later. For now let's concentrate on
@@ -1603,7 +1630,7 @@ More detail on this is provided in the Appendix, Anatomy of an Action.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.4.4. Patterns
+9.4. Patterns
 
 Generally, a pattern has the form <domain>/<path>, where both the <domain> and
 <path> are optional. (This is why the pattern / matches all URLs).
 
 Generally, a pattern has the form <domain>/<path>, where both the <domain> and
 <path> are optional. (This is why the pattern / matches all URLs).
@@ -1634,7 +1661,7 @@ index.html
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.4.1. The Domain Pattern
+9.4.1. The Domain Pattern
 
 The matching of the domain part offers some flexible options: if the domain
 starts or ends with a dot, it becomes unanchored at that end. For example:
 
 The matching of the domain part offers some flexible options: if the domain
 starts or ends with a dot, it becomes unanchored at that end. For example:
@@ -1678,7 +1705,7 @@ www[1-9a-ez].example.c*
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.4.2. The Path Pattern
+9.4.2. The Path Pattern
 
 Privoxy uses Perl compatible regular expressions (through the PCRE library) for
 matching the path.
 
 Privoxy uses Perl compatible regular expressions (through the PCRE library) for
 matching the path.
@@ -1700,7 +1727,7 @@ path starts with PaTtErN in exactly this capitalization.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.4.5. Actions
+9.5. Actions
 
 All actions are disabled by default, until they are explicitly enabled
 somewhere in an actions file. Actions are turned on if preceded with a "+", and
 
 All actions are disabled by default, until they are explicitly enabled
 somewhere in an actions file. Actions are turned on if preceded with a "+", and
@@ -1750,7 +1777,7 @@ The list of valid Privoxy "actions" are:
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.4.5.1. +add-header
+9.5.1. +add-header
 
 Type:
    
 
 Type:
    
@@ -1778,7 +1805,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.2. +block
+9.5.2. +block
 
 Type:
    
 
 Type:
    
@@ -1821,7 +1848,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.3. +deanimate-gifs
+9.5.3. +deanimate-gifs
 
 Type:
    
 
 Type:
    
@@ -1853,7 +1880,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.4. +downgrade-http-version
+9.5.4. +downgrade-http-version
 
 Type:
    
 
 Type:
    
@@ -1883,7 +1910,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.5. +fast-redirects
+9.5.5. +fast-redirects
 
 Type:
    
 
 Type:
    
@@ -1926,7 +1953,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.6. +filter
+9.5.6. +filter
 
 Type:
    
 
 Type:
    
@@ -1991,7 +2018,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.7. +hide-forwarded-for-headers
+9.5.7. +hide-forwarded-for-headers
 
 Type:
    
 
 Type:
    
@@ -2017,7 +2044,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.8. +hide-from-header
+9.5.8. +hide-from-header
 
 Type:
    
 
 Type:
    
@@ -2045,7 +2072,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.9. +hide-referer
+9.5.9. +hide-referer
 
 Type:
    
 
 Type:
    
@@ -2080,7 +2107,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.10. +hide-user-agent
+9.5.10. +hide-user-agent
 
 Type:
    
 
 Type:
    
@@ -2109,7 +2136,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.11. +handle-as-image
+9.5.11. +handle-as-image
 
 Type:
    
 
 Type:
    
@@ -2142,7 +2169,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.12. +set-image-blocker
+9.5.12. +set-image-blocker
 
 Type:
    
 
 Type:
    
@@ -2181,7 +2208,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.13. +limit-connect
+9.5.13. +limit-connect
 
 Type:
    
 
 Type:
    
@@ -2225,7 +2252,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.14. +prevent-compression
+9.5.14. +prevent-compression
 
 Type:
    
 
 Type:
    
@@ -2254,7 +2281,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.15. +session-cookies-only
+9.5.15. +session-cookies-only
 
 Type:
    
 
 Type:
    
@@ -2289,7 +2316,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.16. +prevent-reading-cookies
+9.5.16. +prevent-reading-cookies
 
 Type:
    
 
 Type:
    
@@ -2321,7 +2348,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.17. +prevent-setting-cookies
+9.5.17. +prevent-setting-cookies
 
 Type:
    
 
 Type:
    
@@ -2348,7 +2375,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.18. +kill-popups
+9.5.18. +kill-popups
 
 Type:
    
 
 Type:
    
@@ -2377,7 +2404,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.19. +send-vanilla-wafer
+9.5.19. +send-vanilla-wafer
 
 Type:
    
 
 Type:
    
@@ -2406,7 +2433,7 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.20. +send-wafer
+9.5.20. +send-wafer
 
 Type:
    
 
 Type:
    
@@ -2433,31 +2460,56 @@ Notes:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-7.4.5.21. Actions Examples
+9.5.21. Summary
+
+Note that many of these actions have the potential to cause a page to
+misbehave, possibly even not to display at all. There are many ways a site
+designer may choose to design his site, and what HTTP header content, and other
+criteria, he may depend on. There is no way to have hard and fast rules for all
+sites. See the Appendix for a brief example on troubleshooting actions.
+
+-------------------------------------------------------------------------------
+
+9.5.22. Sample Actions Files
+
+Remember that the meaning of any of the above references is reversed by
+preceding the action with a "-", in place of the "+". Also, that some actions
+are turned on in the default section of the actions file, and require little to
+no additional configuration. These are just "on".
+
+But, other actions that are turned on in the default section do typically
+require exceptions to be listed in the latter sections of one of our actions
+file. For instance, by default no URLs are "blocked" (i.e. in the default
+definitions of default.action). We need exceptions to this in order to enable
+ad blocking in the lower sections. But we need to be very selective about what
+we do block. Thus, the default is "off" for blocking.
 
 
-Note that the meaning of any of the above examples is reversed by preceding the
-action with a "-", in place of the "+". Also, that some actions are turned on
-in the default section of the actions file, and require little to no additional
-configuration. These are just "on". But, other actions that are turned on the
-default section do typically require exceptions to be listed in the latter
-sections of one of our actions file. For instance, by default no URLs are
-"blocked" (i.e. in the default definitions of default.action). We need
-exceptions to this in order to enable ad blocking in the lower sections. But we
-need to be very selective about what we do block.
+Below is a liberally commented sample default.action file to demonstrate how
+all the pieces come together. And to show how exceptions to the default
+policies can be handled. This is followed by a brief user.action with similar
+examples.
 
 
-Below is a liberally commented default.action file to demonstrate the pieces
-all come together. And to show how exceptions to the default policies can be
-handled. This is followed by a user.action with similar examples.
+# Sample default.action file <developers@privoxy.org>
+
+# Settings -- Don't change! For internal Privoxy use ONLY.
+{{settings}}
+for-privoxy-version=3.0
 
 
 ##########################################################################
 # Aliases must be defined *before* they are used. These are
 
 
 ##########################################################################
 # Aliases must be defined *before* they are used. These are
-# easier to remember, and combine several actions into one:
+# easier to remember, and can combine several actions into one. Once 
+# defined they can be used just like any built-in action -- but within 
+# this file only! Aliases do not require a + or - sign.
 ##########################################################################
 
 # Some useful aliases.
 ##########################################################################
 
 # Some useful aliases.
- +prevent-cookies = +prevent-setting-cookies +prevent-reading-cookies
- -prevent-cookies = -prevent-setting-cookies -prevent-reading-cookies
+# Alias to turn off cookie handling, ie allow all cookies unmolested.
+ -prevent-cookies = -prevent-setting-cookies -prevent-reading-cookies \
+                    -session-cookies-only
+
+# Alias to both block and treat as if an image for ad blocking
+# purposes.
  +imageblock      = +block +handle-as-image
 
 # Fragile sites should have the minimum changes:
  +imageblock      = +block +handle-as-image
 
 # Fragile sites should have the minimum changes:
@@ -2465,15 +2517,17 @@ handled. This is followed by a user.action with similar examples.
                -prevent-cookies -kill-popups
 
 # Shops should be allowed to set persistent cookies
                -prevent-cookies -kill-popups
 
 # Shops should be allowed to set persistent cookies
- shop        = -filter -prevent-cookies -prevent-keeping-cookies
+ shop        = -filter -prevent-cookies -session-cookies-only
 
 
 ##########################################################################
 # Begin default action settings. Anything in this section will match 
 
 
 ##########################################################################
 # Begin default action settings. Anything in this section will match 
-# all URLs -- UNLESS we have exceptions defined below this section. 
-# We will show all potential actions here whether they are on or off. 
-# We could omit any disabled action if we wanted, since all actions are 
-# 'off' by default anyway. Shown for completeness only.
+# all URLs -- UNLESS we have exceptions that also match, defined below this 
+# section. We will show all potential actions here whether they are on 
+# or off. We could omit any disabled action if we wanted, since all 
+# actions are 'off' by default anyway. Shown for completeness only.
+# Actions are enabled if preceded by a '+', otherwise they are disabled 
+# (unless an alias has been defined without this).
 ##########################################################################
  { \
  -add-header \
 ##########################################################################
  { \
  -add-header \
@@ -2507,22 +2561,24 @@ handled. This is followed by a user.action with similar examples.
  -send-vanilla-wafer \
  -send-wafer \
  }
  -send-vanilla-wafer \
  -send-wafer \
  }
- / # forward slash will match all potential URLs patterns. 
+ / # forward slash will match *all* potential URL patterns. 
 
 ##########################################################################
 
 ##########################################################################
-# Default behavior is now set. Time for some exceptions to our 
-# default actions.
+# Default behavior is now set. Now we will define some exceptions to our 
+# default action policies.
 ##########################################################################
 
 # These sites are very complex and require very minimal interference.
 ##########################################################################
 
 # These sites are very complex and require very minimal interference.
-# We'll disable most actions with our 'fragile' alias.
- {fragile}
- .office.microsoft.com
+# We'll disable most actions with our 'fragile' alias:
+ { fragile }
+ .office.microsoft.com           # surprise, surprise!
  .windowsupdate.microsoft.com
 
 
  .windowsupdate.microsoft.com
 
 
-# Shopping sites - not as fragile. We still want to block ads.
- {shop}
+# Shopping sites - not as fragile but require some special 
+# handling. We still want to block ads, and we will allow 
+# persistant cookies via the 'shop' alias:
+ { shop }
  .quietpc.com 
  .worldpay.com   # for quietpc.com
  .jungle.com
  .quietpc.com 
  .worldpay.com   # for quietpc.com
  .jungle.com
@@ -2531,15 +2587,14 @@ handled. This is followed by a user.action with similar examples.
 
 # These sites require pop-ups too :(  We'll combine our 'shop' 
 # alias with two other actions into one rule to allow all popups.
 
 # These sites require pop-ups too :(  We'll combine our 'shop' 
 # alias with two other actions into one rule to allow all popups.
- {shop -no-popups -filter{popups}}
+ { shop -kill-popups -filter{popups} }
  .dabs.com
  .overclockers.co.uk
 
 
 # The 'Fast-redirects' action breaks some sites. Disable this action
  .dabs.com
  .overclockers.co.uk
 
 
 # The 'Fast-redirects' action breaks some sites. Disable this action
-# for these known sensitive sites.
- {-fast-redirects}
- www.ukc.ac.uk/cgi-bin/wac\.cgi\?
+# for these known sensitive sites:
+ { -fast-redirects }
  login.yahoo.com
  edit.europe.yahoo.com
  .google.com
  login.yahoo.com
  edit.europe.yahoo.com
  .google.com
@@ -2550,16 +2605,16 @@ handled. This is followed by a user.action with similar examples.
 
 # Define which file types will be treated as images. Important
 # for ad blocking.
 
 # Define which file types will be treated as images. Important
 # for ad blocking.
- {+handle-as-image}
+ { +handle-as-image }
  /.*\.(gif|jpe?g|png|bmp|ico)
 
 
 # Now lets list some domains that are known ad generators. And
  /.*\.(gif|jpe?g|png|bmp|ico)
 
 
 # Now lets list some domains that are known ad generators. And
-# our alias here will block these as well as force them to b
-# treated as images. This combination of actions is important 
-# for ad blocking. What the browser will show instead is 
+# our alias that we use here will block these as well as forc
+# them to be treated as images. This combination of actions is 
+# important for ad blocking. What the browser will show instead is 
 # determined by the setting of "+set-image-blocker"
 # determined by the setting of "+set-image-blocker"
- {+imageblock}
+ { +imageblock }
  ar.atwola.com 
  .ad.doubleclick.net
  .a.yimg.com/(?:(?!/i/).)*$
  ar.atwola.com 
  .ad.doubleclick.net
  .a.yimg.com/(?:(?!/i/).)*$
@@ -2572,8 +2627,8 @@ handled. This is followed by a user.action with similar examples.
 
 # These will just simply be blocked. They will generate the BLOCKED
 # banner page, if matched. Heavy use of wildcards and regular 
 
 # These will just simply be blocked. They will generate the BLOCKED
 # banner page, if matched. Heavy use of wildcards and regular 
-# expressions in this example.
- {+block}
+# expressions in this example. Enable block action:
+ { +block }
  ad*.
  .*ads.
  banner?.
  ad*.
  .*ads.
  banner?.
@@ -2583,121 +2638,91 @@ handled. This is followed by a user.action with similar examples.
  .hitbox.com 
 
 
  .hitbox.com 
 
 
-# The above block section will catch some sites we DO NOT want 
-# blocked via wildcards and regular expressions. Now set exceptions 
-# to the exceptions so the good guys get better treatment.
- {-block}
+# The above block section will probably inadvertantly catch some 
+# sites we DO NOT want blocked via the wildcards and regular expressions. 
+# Now let's set exceptions to the exceptions so the good guys get better 
+# treatment. Disable block action:
+ { -block }
  advogato.org
  adsl.
  ad[ud]*.
  advice.
  advogato.org
  adsl.
  ad[ud]*.
  advice.
-# Let's just trust universities
+# Let's just trust all .edu top level domains.
  .edu
  www.ugu.com/sui/ugu/adv
 # We'll need to access to path names containing 'download' 
  .*downloads.
  /downloads/
  .edu
  www.ugu.com/sui/ugu/adv
 # We'll need to access to path names containing 'download' 
  .*downloads.
  /downloads/
-# 'adv' is for globalintersec means advanced, not advertisement
+# 'adv' is for globalintersec and means advanced, not advertisement
  www.globalintersec.com/adv
 
 
 # Don't filter *anything* from our friends at sourceforge.
 # Notice we don't have to name the individual filter 
  www.globalintersec.com/adv
 
 
 # Don't filter *anything* from our friends at sourceforge.
 # Notice we don't have to name the individual filter 
-# identifiers -- we just turn them all off.
- {-filter}
+# identifiers -- we just turn them all off in one fell swoop.
+# Disable all filters for this one site:
+ { -filter }
  .sourceforge.net
  .sourceforge.net
-
    
 
    
 
-Some examples:
+So far we are painting with a broad brush by setting general policies. The
+above would be a reasonable starting point for many situations. Now, we want to
+be more specific and have customized rules that are more suitable to our
+personal habits and preferences. These would be for narrowly defined situations
+like your ISP or your bank, and should be placed in user.action, which is
+parsed after all other actions files and should not be clobbered by upgrades.
+So any settings here, will have the last word and over-ride any previously
+defined actions.
 
 
-Turn off cookies by default, then allow a few through for specified sites
-(showing an excerpt from the "default" section of an actions file ONLY):
+Now a few examples of some things that one might do with a user.action file.
 
 
- # Excerpt only:
- # Allow cookies to and from the server, but
- # for this browser session ONLY
- { 
-   # other actions normally listed here...
-   -prevent-setting-cookies \
-   -prevent-reading-cookies \
-   +session-cookies-only   \  
- }
- / # match all URLs
+# Sample user.action file.
 
 
- # Exceptions to the above, sites that benefit from persistent cookies
- # that are saved from one browser session to the next.
- { -session-cookies-only }
-  .javasoft.com
-  .sun.com
-  .yahoo.com
-  .msdn.microsoft.com
-  .redhat.com
+# Any aliases you want to use need to be re-defined here.
+# Alias to turn off cookie handling, ie allow all cookies unmolested.
+ -prevent-cookies = -prevent-setting-cookies -prevent-reading-cookies \
+                    -session-cookies-only
 
 
-   
+# Fragile sites should have the minimum changes:
+ fragile     = -block -deanimate-gifs -fast-redirects -filter -hide-referer \
+               -prevent-cookies -kill-popups
 
 
-Now turn off "fast redirects", and then we allow two exceptions:
+# Allow persistent cookies for a few regular sites that we 
+# trust via our above alias. These will be saved from one browser session 
+# to the next. We are explicity turning off any and all cookie handling, 
+# even though the prevent-*-cookie settings were disabled in our above 
+# default.action anyway. So cookies from these domains will come through 
+# unmolested.
+ { -prevent-cookies }
+ .sun.com
+ .yahoo.com
+ .msdn.microsoft.com
+ .redhat.com
 
 
- # Turn them off (excerpt only)!
- {
-  # other actions normally listed here...
-  +fast-redirects
- }
- / # match all URLs
- # Reverse it for these two sites, which don't work right without it.
- {-fast-redirects}
-  www.ukc.ac.uk/cgi-bin/wac\.cgi\?
-  login.yahoo.com
-   
 
 
-Turn on page filtering according to rules in the defined sections of
-default.filter, and make one exception for Sourceforge:
+# My ISP uses obnoxious self promoting images on many pages.
+# Nuke them :) Note that "+handle-as-image" need not be specified,
+# since all URLs ending in .gif will be tagged as images by the
+# general rules in default.action anyway.
+ { +block }
+ www.my-isp-example.com/logo[0-9].gif
 
 
- # Run everything through the filter file, using only certain
- # specified sections:
- {
-  # other actions normally listed here...
-  +filter{html-annoyances} +filter{js-annoyances} +filter{kill-popups}\
-  +filter{webbugs} +filter{nimda} +filter{banners-by-size}
- }
- / #match all URLs
-              
- # Then disable filtering of code from all sourceforge domains!
- {-filter}
-  .sourceforge.net
-   
-
-Now some URLs that we want "blocked" (normally generates the "blocked" banner).
-Typically, the "block" action is off by default in the upper section of an
-actions file, then enabled against certain URLs and patterns in the lower part
-of the file. Many of these use regular expressions that will expand to match
-multiple URLs:
-
-  # Blocklist:
-  {+block}
-  ad*.
-  .*ads.
-  banner?.
-  count*.
-  /.*count(er)?\.(pl|cgi|exe|dll|asp|php[34]?)
-  /(?:.*/)?(publicite|werbung|rekla(ma|me|am)|annonse|maino(kset|nta|s)?)/
-  .hitbox.com 
-  /.*/(ng)?adclient\.cgi
-  /.*/(plain|live|rotate)[-_.]?ads?/
-  /.*/abanners/
-  /autoads/
-   
+# Say the site where you do your homebanking needs to open
+# popup windows, but you have chosen to kill popups by
+# default. This will allow it for your-example-bank.com:
+#
+ { -filter{popups} -kill-popups }
+ .my-example-bank.com
 
 
-Note that many of these actions have the potential to cause a page to
-misbehave, possibly even not to display at all. There are many ways a site
-designer may choose to design his site, and what HTTP header content, and other
-criteria, he may depend on. There is no way to have hard and fast rules for all
-sites. See the Appendix for a brief example on troubleshooting actions.
+# This site is delicate, and requires kid-glove 
+# treatment.
+ { fragile }
+ .forbes.com
+   
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.4.6. Aliases
+9.6. Aliases
 
 Custom "actions", known to Privoxy as "aliases", can be defined by combining
 other "actions". These can in turn be invoked just like the built-in "actions".
 
 Custom "actions", known to Privoxy as "aliases", can be defined by combining
 other "actions". These can in turn be invoked just like the built-in "actions".
@@ -2705,7 +2730,8 @@ Currently, an alias can contain any character except space, tab, "=", "{" or "}
 ". But please use only "a"- "z", "0"-"9", "+", and "-". Alias names are not
 case sensitive, and must be defined before other actions in the actions file!
 And there can only be one set of "aliases" defined per file. Each actions file
 ". But please use only "a"- "z", "0"-"9", "+", and "-". Alias names are not
 case sensitive, and must be defined before other actions in the actions file!
 And there can only be one set of "aliases" defined per file. Each actions file
-may have its own aliases, but they are only visible within that file.
+may have its own aliases, but they are only visible within that file. Aliases
+do not requir a "+" or "-" sign in front, since they are merely expanded.
 
 Now let's define a few aliases:
 
 
 Now let's define a few aliases:
 
@@ -2753,12 +2779,12 @@ require most actions to be disabled in order to function properly.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.5. The Filter File
+10. The Filter File
 
 Any web page can be dynamically modified with the filter file. This
 modification can be removal, or re-writing, of any web page content, including
 
 Any web page can be dynamically modified with the filter file. This
 modification can be removal, or re-writing, of any web page content, including
-tags and non-visible content. The default filter file is default.filter,
-located in the config directory.
+tags and non-visible content. The default filter file is oddly enough
+default.filter, located in the config directory.
 
 This is potentially a very powerful feature, and requires knowledge of both
 "regular expression" and HTML in order create custom filters. But, there are a
 
 This is potentially a very powerful feature, and requires knowledge of both
 "regular expression" and HTML in order create custom filters. But, there are a
@@ -2820,57 +2846,55 @@ Kill those pesky little web-bugs:
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.5.1. The +filter Action
+10.1. The +filter Action
 
 Filters are enabled with the "+filter" action from within one of the actions
 files. "+filter" requires one parameter, which should match one of the section
 identifiers in the filter file itself. Example:
 
   +filter{html-annoyances}                                                     
 
 Filters are enabled with the "+filter" action from within one of the actions
 files. "+filter" requires one parameter, which should match one of the section
 identifiers in the filter file itself. Example:
 
   +filter{html-annoyances}                                                     
-                                                                               
 
 This would activate that particular filter. Similarly, "+filter" can be turned
 
 This would activate that particular filter. Similarly, "+filter" can be turned
-off for selected sites as: "-filter{html-annoyances}". Remember, all actions
-are off by default, unless they are explicity enabled in one of the actions
-files.
+off for selected sites as: "-filter{html-annoyances}". Remember too, all
+actions are off by default, unless they are explicity enabled in one of the
+actions files.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-7.6. Templates
+11. Templates
 
 When Privoxy displays one of its internal pages, such as a 404 Not Found error
 
 When Privoxy displays one of its internal pages, such as a 404 Not Found error
-page, it uses the appropriate template. On Linux, BSD, and Unix, these are
-located in /etc/privoxy/templates by default. These may be customized, if
-desired. cgi-style.css is used to control the HTML attributes (fonts, etc).
+page (Privoxy must be running for link to work as intended), it uses the
+appropriate template. On Linux, BSD, and Unix, these are located in /etc/
+privoxy/templates by default. These may be customized, if desired.
+cgi-style.css is used to control the HTML attributes (fonts, etc).
 
 
-The default "Blocked" banner page with the bright red top banner, is called
-just "blocked". This may be customized or replaced with something else if
-desired. 
+The default Blocked (Privoxy needs to be running for page to display) banner
+page with the bright red top banner, is called just "blocked". This may be
+customized or replaced with something else if desired. 
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-8. Contacting the Developers, Bug Reporting and Feature Requests
+12. Contacting the Developers, Bug Reporting and Feature Requests
 
 We value your feedback. However, to provide you with the best support, please
 note the following sections.
 
 -------------------------------------------------------------------------------
 
 
 We value your feedback. However, to provide you with the best support, please
 note the following sections.
 
 -------------------------------------------------------------------------------
 
-8.1. Get Support
+12.1. Get Support
 
 To get support, use the Sourceforge Support Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=211118
 
 To get support, use the Sourceforge Support Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=211118
-   
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-8.2. Report bugs
+12.2. Report bugs
 
 To submit bugs, use the Sourceforge Bug Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=111118. 
 
 To submit bugs, use the Sourceforge Bug Forum:
 
     http://sourceforge.net/tracker/?group_id=11118&atid=111118. 
-    
 
 Make sure that the bug has not already been submitted. Please try to verify
 that it is a Privoxy bug, and not a browser or site bug first. If you are using
 
 Make sure that the bug has not already been submitted. Please try to verify
 that it is a Privoxy bug, and not a browser or site bug first. If you are using
@@ -2883,16 +2907,15 @@ reproduce the bug.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-8.3. Request new features
+12.3. Request new features
 
 To submit ideas on new features, use the Sourceforge feature request forum:
 
     http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse.
 
 To submit ideas on new features, use the Sourceforge feature request forum:
 
     http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse.
-   
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-8.4. Report ads or other filter problems
+12.4. Report ads or other filter problems
 
 You can also send feedback on websites that Privoxy has problems with. Please
 bookmark the following link: "Privoxy - Submit Filter Feedback". Once you surf
 
 You can also send feedback on websites that Privoxy has problems with. Please
 bookmark the following link: "Privoxy - Submit Filter Feedback". Once you surf
@@ -2904,12 +2927,11 @@ your feedback. These will be announced on the ijbswa-announce list.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-8.5. Other
+12.5. Other
 
 For any other issues, feel free to use the mailing lists:
  
     http://sourceforge.net/mail/?group_id=11118.
 
 For any other issues, feel free to use the mailing lists:
  
     http://sourceforge.net/mail/?group_id=11118.
 
 Anyone interested in actively participating in development and related
 discussions can also join the appropriate mailing list. Archives are available,
 
 Anyone interested in actively participating in development and related
 discussions can also join the appropriate mailing list. Archives are available,
@@ -2917,9 +2939,9 @@ too. See the page on Sourceforge.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-9. Copyright and History
+13. Copyright and History
 
 
-9.1. Copyright
+13.1. Copyright
 
 Privoxy is free software; you can redistribute it and/or modify it under the
 terms of the GNU General Public License as published by the Free Software
 
 Privoxy is free software; you can redistribute it and/or modify it under the
 terms of the GNU General Public License as published by the Free Software
@@ -2938,7 +2960,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-9.2. History
+13.2. History
 
 Privoxy is evolved, and derived from, the Internet Junkbuster, with many
 improvments and enhancements over the original.
 
 Privoxy is evolved, and derived from, the Internet Junkbuster, with many
 improvments and enhancements over the original.
@@ -2952,7 +2974,7 @@ grown whiskers ;-).
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-10. See Also
+14. See Also
 
 Other references and sites of interest to Privoxy users:
 
 
 Other references and sites of interest to Privoxy users:
 
@@ -2964,8 +2986,8 @@ Sourceforge.
 http://p.p/, access Privoxy from your browser. Alternately, http://            
 config.privoxy.org may work in some situations where the first does not.       
 
 http://p.p/, access Privoxy from your browser. Alternately, http://            
 config.privoxy.org may work in some situations where the first does not.       
 
-http://p.p/, and select "actions file feedback system" to submit "misses" to   
-the developers.                                                                
+http://p.p/, and select "Privoxy - Submit Filter Feedback" to submit "misses"  
+to the developers.                                                             
 
 http://www.junkbusters.com/ht/en/cookies.html
 
 
 http://www.junkbusters.com/ht/en/cookies.html
 
@@ -2979,9 +3001,9 @@ http://www.squid-cache.org/
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-11. Appendix
+15. Appendix
 
 
-11.1. Regular Expressions
+15.1. Regular Expressions
 
 Privoxy can use "regular expressions" in various config files. Assuming support
 for "pcre" (Perl Compatible Regular Expressions) is compiled in, which is the
 
 Privoxy can use "regular expressions" in various config files. Assuming support
 for "pcre" (Perl Compatible Regular Expressions) is compiled in, which is the
@@ -3120,7 +3142,7 @@ perl5.6/pod/perlre.html
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-11.2. Privoxy's Internal Pages
+15.2. Privoxy's Internal Pages
 
 Since Privoxy proxies each requested web page, it is easy for Privoxy to trap
 certain special URLs. In this way, we can talk directly to Privoxy, and see how
 
 Since Privoxy proxies each requested web page, it is easy for Privoxy to trap
 certain special URLs. In this way, we can talk directly to Privoxy, and see how
@@ -3171,7 +3193,7 @@ These may be bookmarked for quick reference. See next.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-11.2.1. Bookmarklets
+15.2.1. Bookmarklets
 
 Below are some "bookmarklets" to allow you to easily access a "mini" version of
 some of Privoxy's special pages. They are designed for MS Internet Explorer,
 
 Below are some "bookmarklets" to allow you to easily access a "mini" version of
 some of Privoxy's special pages. They are designed for MS Internet Explorer,
@@ -3201,7 +3223,7 @@ www.bookmarklets.com. They have more information about bookmarklets.
 
 -------------------------------------------------------------------------------
 
 
 -------------------------------------------------------------------------------
 
-11.3. Chain of Events
+15.3. Chain of Events
 
 Let's take a quick look at the basic sequence of events when a web page is
 requested by your browser and Privoxy is on duty:
 
 Let's take a quick look at the basic sequence of events when a web page is
 requested by your browser and Privoxy is on duty:
@@ -3264,7 +3286,7 @@ requested by your browser and Privoxy is on duty:
    
 -------------------------------------------------------------------------------
 
    
 -------------------------------------------------------------------------------
 
-11.4. Anatomy of an Action
+15.4. Anatomy of an Action
 
 The way Privoxy applies "actions" and "filters" to any given URL can be
 complex, and not always so easy to understand what is happening. And sometimes
 
 The way Privoxy applies "actions" and "filters" to any given URL can be
 complex, and not always so easy to understand what is happening. And sometimes
@@ -3349,7 +3371,7 @@ Then, for our user.action file, we again have no hits.
 And finally we pull it all together in the bottom section and summarize how
 Privoxy is applying all its "actions" to "google.com": 
 
 And finally we pull it all together in the bottom section and summarize how
 Privoxy is applying all its "actions" to "google.com": 
 
- Final results:                                                                    
+  Final results:                                                                   
  -add-header -block +deanimate-gifs{last} -downgrade-http-version -fast-redirects  
  -filter{popups} -filter{fun} -filter{shockwave-flash} -filter{crude-parental}     
  +filter{html-annoyances} +filter{js-annoyances} +filter{content-cookies}          
  -add-header -block +deanimate-gifs{last} -downgrade-http-version -fast-redirects  
  -filter{popups} -filter{fun} -filter{shockwave-flash} -filter{crude-parental}     
  +filter{html-annoyances} +filter{js-annoyances} +filter{content-cookies}          
@@ -3364,7 +3386,7 @@ and "session-cookies-only".
 
 Now another example, "ad.doubleclick.net":
 
 
 Now another example, "ad.doubleclick.net":
 
- { +block +handle-as-image }                                                   
+  { +block +handle-as-image }                                                  
   .ad.doubleclick.net                                                          
                                                                                
  { +block +handle-as-image }                                                   
   .ad.doubleclick.net                                                          
                                                                                
  { +block +handle-as-image }                                                   
@@ -3390,7 +3412,7 @@ and make it more readable.
 One last example. Let's try "http://www.rhapsodyk.net/adsl/HOWTO/". This one is
 giving us problems. We are getting a blank page. Hmmm...
 
 One last example. Let's try "http://www.rhapsodyk.net/adsl/HOWTO/". This one is
 giving us problems. We are getting a blank page. Hmmm...
 
- Matches for http://www.rhapsodyk.net/adsl/HOWTO/:                                   
+  Matches for http://www.rhapsodyk.net/adsl/HOWTO/:                                  
                                                                                      
  { -add-header -block +deanimate-gifs -downgrade-http-version +fast-redirects        
    +filter{html-annoyances} +filter{js-annoyances} +filter{kill-popups}              
                                                                                      
  { -add-header -block +deanimate-gifs -downgrade-http-version +fast-redirects        
    +filter{html-annoyances} +filter{js-annoyances} +filter{kill-popups}              
@@ -3409,7 +3431,7 @@ see why we get the blank page. We could now add a new action below this that
 explicitly does not block ("{-block}") paths with "adsl". There are various
 ways to handle such exceptions. Example:
 
 explicitly does not block ("{-block}") paths with "adsl". There are various
 ways to handle such exceptions. Example:
 
- { -block }                                                                    
+  { -block }                                                                   
   /adsl                                                                        
 
 Now the page displays ;-) Be sure to flush your browser's caches when making
   /adsl                                                                        
 
 Now the page displays ;-) Be sure to flush your browser's caches when making
@@ -3418,7 +3440,7 @@ such changes. Or, try using Shift+Reload.
 But now what about a situation where we get no explicit matches like we did
 with:
 
 But now what about a situation where we get no explicit matches like we did
 with:
 
- { +block +handle-as-image }                                                   
+  { +block +handle-as-image }                                                  
  /ads                                                                          
 
 That actually was very telling and pointed us quickly to where the problem was.
  /ads                                                                          
 
 That actually was very telling and pointed us quickly to where the problem was.
@@ -3428,7 +3450,7 @@ and maybe a little trial and error to isolate the offending rule. One likely
 cause would be one of the "{+filter}" actions. Try adding the URL for the site
 to one of aliases that turn off "+filter":
 
 cause would be one of the "{+filter}" actions. Try adding the URL for the site
 to one of aliases that turn off "+filter":
 
- {shop}                                                                        
+  {shop}                                                                       
  .quietpc.com                                                                  
  .worldpay.com   # for quietpc.com                                             
  .jungle.com                                                                   
  .quietpc.com                                                                  
  .worldpay.com   # for quietpc.com                                             
  .jungle.com                                                                   
@@ -3438,7 +3460,7 @@ to one of aliases that turn off "+filter":
 "{shop}" is an "alias" that expands to "{ -filter -session-cookies-only }". Or
 you could do your own exception to negate filtering: 
 
 "{shop}" is an "alias" that expands to "{ -filter -session-cookies-only }". Or
 you could do your own exception to negate filtering: 
 
- {-filter}                                                                     
+  {-filter}                                                                    
  .forbes.com                                                                   
 
 This would probably be most appropriately put in user.action, for local site
  .forbes.com                                                                   
 
 This would probably be most appropriately put in user.action, for local site
index 15c89a2..2ab0bcb 100644 (file)
@@ -93,8 +93,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=211118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=211118</A
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=211118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=211118</A
-><br>
-&nbsp;&nbsp;&nbsp;</P
+></P
 >
   </P
 ></DIV
 >
   </P
 ></DIV
@@ -115,8 +114,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=111118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=111118</A
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=111118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=111118</A
->.&nbsp;<br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
+>.&nbsp;</P
 >
  </P
 ><P
 >
  </P
 ><P
@@ -154,8 +152,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse"
 TARGET="_top"
 >http://sourceforge.net/tracker/?atid=361118&#38;group_id=11118&#38;func=browse</A
 HREF="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse"
 TARGET="_top"
 >http://sourceforge.net/tracker/?atid=361118&#38;group_id=11118&#38;func=browse</A
->.<br>
-&nbsp;&nbsp;&nbsp;</P
+>.</P
 >
   </P
 ></DIV
 >
   </P
 ></DIV
@@ -208,8 +205,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/mail/?group_id=11118"
 TARGET="_top"
 >http://sourceforge.net/mail/?group_id=11118</A
 HREF="http://sourceforge.net/mail/?group_id=11118"
 TARGET="_top"
 >http://sourceforge.net/mail/?group_id=11118</A
->.<br>
-&nbsp;</P
+>.</P
 >
  </P
 ><P
 >
  </P
 ><P
index f86e019..a6bc4ad 100644 (file)
@@ -170,10 +170,9 @@ HREF="javascript:w=Math.floor(screen.width/2);h=Math.floor(screen.height*0.9);vo
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
->"actions file feedback system"</SPAN
+>"Privoxy - Submit Filter Feedback"</SPAN
 ></A
 ></A
->  
-   to submit <SPAN
+> to submit <SPAN
 CLASS="QUOTE"
 >"misses"</SPAN
 > to the developers. 
 CLASS="QUOTE"
 >"misses"</SPAN
 > to the developers. 
index 1e7de0b..6a1d6e4 100644 (file)
@@ -93,8 +93,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=211118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=211118</A
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=211118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=211118</A
-><br>
-&nbsp;&nbsp;&nbsp;</P
+></P
 >
   </P
 ></DIV
 >
   </P
 ></DIV
@@ -115,8 +114,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=111118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=111118</A
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=111118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=111118</A
->.&nbsp;<br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
+>.&nbsp;</P
 >
  </P
 ><P
 >
  </P
 ><P
@@ -154,8 +152,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse"
 TARGET="_top"
 >http://sourceforge.net/tracker/?atid=361118&#38;group_id=11118&#38;func=browse</A
 HREF="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse"
 TARGET="_top"
 >http://sourceforge.net/tracker/?atid=361118&#38;group_id=11118&#38;func=browse</A
->.<br>
-&nbsp;&nbsp;&nbsp;</P
+>.</P
 >
   </P
 ></DIV
 >
   </P
 ></DIV
@@ -208,8 +205,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/mail/?group_id=11118"
 TARGET="_top"
 >http://sourceforge.net/mail/?group_id=11118</A
 HREF="http://sourceforge.net/mail/?group_id=11118"
 TARGET="_top"
 >http://sourceforge.net/mail/?group_id=11118</A
->.<br>
-&nbsp;</P
+>.</P
 >
  </P
 ><P
 >
  </P
 ><P
index 09ec33c..d752e8d 100644 (file)
@@ -697,10 +697,9 @@ HREF="javascript:w=Math.floor(screen.width/2);h=Math.floor(screen.height*0.9);vo
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
->"actions file feedback system"</SPAN
+>"Privoxy - Submit Filter Feedback"</SPAN
 ></A
 ></A
->  
-   to submit <SPAN
+> to submit <SPAN
 CLASS="QUOTE"
 >"misses"</SPAN
 > to the developers. 
 CLASS="QUOTE"
 >"misses"</SPAN
 > to the developers. 
index 57464e5..1d7ad57 100644 (file)
@@ -353,8 +353,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=211118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=211118</A
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=211118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=211118</A
-><br>
-&nbsp;&nbsp;&nbsp;</P
+></P
 >
   </P
 ></DIV
 >
   </P
 ></DIV
@@ -375,8 +374,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=111118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=111118</A
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=111118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=111118</A
->.&nbsp;<br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
+>.&nbsp;</P
 >
  </P
 ><P
 >
  </P
 ><P
@@ -414,8 +412,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse"
 TARGET="_top"
 >http://sourceforge.net/tracker/?atid=361118&#38;group_id=11118&#38;func=browse</A
 HREF="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse"
 TARGET="_top"
 >http://sourceforge.net/tracker/?atid=361118&#38;group_id=11118&#38;func=browse</A
->.<br>
-&nbsp;&nbsp;&nbsp;</P
+>.</P
 >
   </P
 ></DIV
 >
   </P
 ></DIV
@@ -468,8 +465,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/mail/?group_id=11118"
 TARGET="_top"
 >http://sourceforge.net/mail/?group_id=11118</A
 HREF="http://sourceforge.net/mail/?group_id=11118"
 TARGET="_top"
 >http://sourceforge.net/mail/?group_id=11118</A
->.<br>
-&nbsp;</P
+>.</P
 >
  </P
 ><P
 >
  </P
 ><P
diff --git a/doc/webserver/user-manual/actions-file.html b/doc/webserver/user-manual/actions-file.html
new file mode 100644 (file)
index 0000000..e497a96
--- /dev/null
@@ -0,0 +1,3516 @@
+<HTML
+><HEAD
+><TITLE
+>Actions Files</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
+"><LINK
+REL="HOME"
+TITLE="Privoxy User Manual"
+HREF="index.html"><LINK
+REL="PREVIOUS"
+TITLE="The Main Configuration File"
+HREF="config.html"><LINK
+REL="NEXT"
+TITLE="The Filter File"
+HREF="filter-file.html"><LINK
+REL="STYLESHEET"
+TYPE="text/css"
+HREF="../p_doc.css"></HEAD
+><BODY
+CLASS="SECT1"
+BGCOLOR="#EEEEEE"
+TEXT="#000000"
+LINK="#0000FF"
+VLINK="#840084"
+ALINK="#0000FF"
+><DIV
+CLASS="NAVHEADER"
+><TABLE
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TH
+COLSPAN="3"
+ALIGN="center"
+>Privoxy User Manual</TH
+></TR
+><TR
+><TD
+WIDTH="10%"
+ALIGN="left"
+VALIGN="bottom"
+><A
+HREF="config.html"
+>Prev</A
+></TD
+><TD
+WIDTH="80%"
+ALIGN="center"
+VALIGN="bottom"
+></TD
+><TD
+WIDTH="10%"
+ALIGN="right"
+VALIGN="bottom"
+><A
+HREF="filter-file.html"
+>Next</A
+></TD
+></TR
+></TABLE
+><HR
+ALIGN="LEFT"
+WIDTH="100%"></DIV
+><DIV
+CLASS="SECT1"
+><H1
+CLASS="SECT1"
+><A
+NAME="ACTIONS-FILE"
+>9. Actions Files</A
+></H1
+><P
+> The actions files are used to define what actions
+ <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> takes for which URLs, and thus determines
+ how ad images, cookies and various other aspects of HTTP content and
+ transactions are handled, and on which sites (or even parts thereof). There 
+ are three such files included with <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>, 
+ with slightly different purposes. <TT
+CLASS="FILENAME"
+>default.action</TT
+> sets
+ the default policies. <TT
+CLASS="FILENAME"
+>standard.action</TT
+> is used by 
+ <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> and the web based editor to set 
+ pre-defined values (and normally should not be edited). Local exceptions 
+ are best done in <TT
+CLASS="FILENAME"
+>user.action</TT
+>. The content of these 
+ can all be viewed and edited from <A
+HREF="http://config.privoxy.org/show-status"
+TARGET="_top"
+>http://config.privoxy.org/show-status</A
+>.
+ </P
+><P
+> 
+ Anything you want can be blocked, including ads, banners, or just some obnoxious
+ URL that you would rather not see is done here. Cookies can be accepted or rejected, or
+ accepted only during the current browser session (i.e. not written to disk),
+ content can be modified, JavaScripts tamed, user-tracking fooled, and much more.
+ See below for a complete list of available actions.</P
+><P
+> An actions file typically has sections. Near the top, <SPAN
+CLASS="QUOTE"
+>"aliases"</SPAN
+> are 
+ optionally defined (discussed <A
+HREF="actions-file.html#ALIASES"
+TARGET="_top"
+>below</A
+>), then the default set of rules
+ which will apply universally to all sites and pages. And then below that,
+ exceptions to the defined universal policies. </P
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="AEN1299"
+>9.1. Finding the Right Mix</A
+></H2
+><P
+> Note that some <A
+HREF="actions-file.html#ACTIONS"
+>actions</A
+>, like cookie suppression
+ or script disabling, may render some sites unusable that rely on these
+ techniques to work properly. Finding the right mix of actions is not always easy and
+ certainly a matter of personal taste. In general, it can be said that the more
+ <SPAN
+CLASS="QUOTE"
+>"aggressive"</SPAN
+> your default settings (in the top section of the
+ actions file) are, the more exceptions for <SPAN
+CLASS="QUOTE"
+>"trusted"</SPAN
+> sites you
+ will have to make later. If, for example, you want to kill popup windows per
+ default, you'll have to make exceptions from that rule for sites that you
+ regularly use and that require popups for actually useful content, like maybe
+ your bank, favorite shop, or newspaper.</P
+><P
+> We have tried to provide you with reasonable rules to start from in the
+ distribution actions files. But there is no general rule of thumb on these
+ things. There just are too many variables, and sites are constantly changing.
+ Sooner or later you will want to change the rules (and read this chapter again :).</P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="AEN1306"
+>9.2. How to Edit</A
+></H2
+><P
+> The easiest way to edit the <SPAN
+CLASS="QUOTE"
+>"actions"</SPAN
+> files is with a browser by
+ using our browser-based editor, which can be reached from <A
+HREF="http://config.privoxy.org/show-status"
+TARGET="_top"
+>http://config.privoxy.org/show-status</A
+>.</P
+><P
+> If you prefer plain text editing to GUIs, you can of course also directly edit the
+ the actions files.</P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="AEN1312"
+>9.3. How Actions are Applied to URLs</A
+></H2
+><P
+> Actions files are divided into sections. There are special sections,
+ like the <SPAN
+CLASS="QUOTE"
+>"<A
+HREF="actions-file.html#ALIASES"
+>alias</A
+>"</SPAN
+> sections which will be discussed later. For now
+ let's concentrate on regular sections: They have a heading line (often split
+ up to multiple lines for readability) which consist of a list of actions,
+ separated by whitespace and enclosed in curly braces. Below that, there
+ is a list of URL patterns, each on a separate line.</P
+><P
+> To determine which actions apply to a request, the URL of the request is
+ compared to all patterns in this file. Every time it matches, the list of
+ applicable actions for the URL is incrementally updated, using the heading
+ of the section in which the pattern is located. If multiple matches for
+ the same URL set the same action differently, the last match wins. If not, 
+ the effects are aggregated (e.g. a URL might match both the 
+ <A
+HREF="actions-file.html#HANDLE-AS-IMAGE"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+handle-as-image"</SPAN
+></A
+>
+ and <A
+HREF="actions-file.html#BLOCK"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+></A
+> actions).
+ </P
+><P
+> You can trace this process by visiting <A
+HREF="http://config.privoxy.org/show-url-info"
+TARGET="_top"
+>http://config.privoxy.org/show-url-info</A
+>.</P
+><P
+> More detail on this is provided in the Appendix, <A
+HREF="appendix.html#ACTIONSANAT"
+> Anatomy of an Action</A
+>.</P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="AEN1326"
+>9.4. Patterns</A
+></H2
+><P
+> Generally, a pattern has the form <TT
+CLASS="LITERAL"
+>&#60;domain&#62;/&#60;path&#62;</TT
+>,
+ where both the <TT
+CLASS="LITERAL"
+>&#60;domain&#62;</TT
+> and <TT
+CLASS="LITERAL"
+>&#60;path&#62;</TT
+>
+ are optional. (This is why the pattern <TT
+CLASS="LITERAL"
+>/</TT
+> matches all URLs).</P
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+><TT
+CLASS="LITERAL"
+>www.example.com/</TT
+></DT
+><DD
+><P
+>    is a domain-only pattern and will match any request to <TT
+CLASS="LITERAL"
+>www.example.com</TT
+>,
+    regardless of which document on that server is requested.
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>www.example.com</TT
+></DT
+><DD
+><P
+>    means exactly the same. For domain-only patterns, the trailing <TT
+CLASS="LITERAL"
+>/</TT
+> may
+    be omitted.
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>www.example.com/index.html</TT
+></DT
+><DD
+><P
+>    matches only the single document <TT
+CLASS="LITERAL"
+>/index.html</TT
+>
+    on <TT
+CLASS="LITERAL"
+>www.example.com</TT
+>.
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>/index.html</TT
+></DT
+><DD
+><P
+>    matches the document <TT
+CLASS="LITERAL"
+>/index.html</TT
+>, regardless of the domain,
+    i.e. on <I
+CLASS="EMPHASIS"
+>any</I
+> web server.
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>index.html</TT
+></DT
+><DD
+><P
+>    matches nothing, since it would be  interpreted as a domain name and
+    there is no top-level domain called <TT
+CLASS="LITERAL"
+>.html</TT
+>.
+   </P
+></DD
+></DL
+></DIV
+><DIV
+CLASS="SECT3"
+><H3
+CLASS="SECT3"
+><A
+NAME="AEN1366"
+>9.4.1. The Domain Pattern</A
+></H3
+><P
+> The matching of the domain part offers some flexible options: if the
+ domain starts or ends with a dot, it becomes unanchored at that end. 
+ For example:</P
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+><TT
+CLASS="LITERAL"
+>.example.com</TT
+></DT
+><DD
+><P
+>    matches any domain that <I
+CLASS="EMPHASIS"
+>ENDS</I
+> in
+    <TT
+CLASS="LITERAL"
+>.example.com</TT
+>
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>www.</TT
+></DT
+><DD
+><P
+>    matches any domain that <I
+CLASS="EMPHASIS"
+>STARTS</I
+> with
+    <TT
+CLASS="LITERAL"
+>www.</TT
+>
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>.example.</TT
+></DT
+><DD
+><P
+>    matches any domain that <I
+CLASS="EMPHASIS"
+>CONTAINS</I
+> <TT
+CLASS="LITERAL"
+>.example.</TT
+>
+    (Correctly speaking: It matches any FQDN that contains <TT
+CLASS="LITERAL"
+>example</TT
+> as a domain.)
+   </P
+></DD
+></DL
+></DIV
+><P
+> Additionally, there are wild-cards that you can use in the domain names
+ themselves. They work pretty similar to shell wild-cards: <SPAN
+CLASS="QUOTE"
+>"*"</SPAN
+>
+ stands for zero or more arbitrary characters, <SPAN
+CLASS="QUOTE"
+>"?"</SPAN
+> stands for
+ any single character, you can define character classes in square
+ brackets and all of that can be freely mixed:</P
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+><TT
+CLASS="LITERAL"
+>ad*.example.com</TT
+></DT
+><DD
+><P
+>    matches <SPAN
+CLASS="QUOTE"
+>"adserver.example.com"</SPAN
+>, 
+    <SPAN
+CLASS="QUOTE"
+>"ads.example.com"</SPAN
+>, etc but not <SPAN
+CLASS="QUOTE"
+>"sfads.example.com"</SPAN
+>
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>*ad*.example.com</TT
+></DT
+><DD
+><P
+>    matches all of the above, and then some.
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>.?pix.com</TT
+></DT
+><DD
+><P
+>    matches <TT
+CLASS="LITERAL"
+>www.ipix.com</TT
+>,
+    <TT
+CLASS="LITERAL"
+>pictures.epix.com</TT
+>, <TT
+CLASS="LITERAL"
+>a.b.c.d.e.upix.com</TT
+> etc. 
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>www[1-9a-ez].example.c*</TT
+></DT
+><DD
+><P
+>     matches <TT
+CLASS="LITERAL"
+>www1.example.com</TT
+>, 
+     <TT
+CLASS="LITERAL"
+>www4.example.cc</TT
+>, <TT
+CLASS="LITERAL"
+>wwwd.example.cy</TT
+>, 
+     <TT
+CLASS="LITERAL"
+>wwwz.example.com</TT
+> etc., but <I
+CLASS="EMPHASIS"
+>not</I
+> 
+     <TT
+CLASS="LITERAL"
+>wwww.example.com</TT
+>.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H3
+CLASS="SECT3"
+><A
+NAME="AEN1428"
+>9.4.2. The Path Pattern</A
+></H3
+><P
+> <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> uses Perl compatible regular expressions
+ (through the <A
+HREF="http://www.pcre.org/"
+TARGET="_top"
+>PCRE</A
+> library) for
+ matching the path.</P
+><P
+> There is an <A
+HREF="appendix.html#REGEX"
+>Appendix</A
+> with a brief quick-start into regular
+ expressions, and full (very technical) documentation on PCRE regex syntax is available on-line
+ at <A
+HREF="http://www.pcre.org/man.txt"
+TARGET="_top"
+>http://www.pcre.org/man.txt</A
+>.
+ You might also find the Perl man page on regular expressions (<TT
+CLASS="LITERAL"
+>man perlre</TT
+>)
+ useful, which is available on-line at <A
+HREF="http://www.perldoc.com/perl5.6/pod/perlre.html"
+TARGET="_top"
+>http://www.perldoc.com/perl5.6/pod/perlre.html</A
+>.</P
+><P
+> Note that the path pattern is automatically left-anchored at the <SPAN
+CLASS="QUOTE"
+>"/"</SPAN
+>,
+ i.e. it matches as if it would start with a <SPAN
+CLASS="QUOTE"
+>"^"</SPAN
+> (regular expression speak 
+ for the beginning of a line).</P
+><P
+> Please also note that matching in the path is case
+ <I
+CLASS="EMPHASIS"
+>INSENSITIVE</I
+> by default, but you can switch to case
+ sensitive at any point in the pattern by using the 
+ <SPAN
+CLASS="QUOTE"
+>"(?-i)"</SPAN
+> switch:
+ <TT
+CLASS="LITERAL"
+>www.example.com/(?-i)PaTtErN.*</TT
+> will match only
+ documents whose path starts with <TT
+CLASS="LITERAL"
+>PaTtErN</TT
+> in
+ <I
+CLASS="EMPHASIS"
+>exactly</I
+> this capitalization.</P
+></DIV
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="ACTIONS"
+>9.5. Actions</A
+></H2
+><P
+> All actions are disabled by default, until they are explicitly enabled
+ somewhere in an actions file. Actions are turned on if preceded with a
+ <SPAN
+CLASS="QUOTE"
+>"+"</SPAN
+>, and turned off if preceded with a <SPAN
+CLASS="QUOTE"
+>"-"</SPAN
+>. So a
+ <SPAN
+CLASS="QUOTE"
+>"+action"</SPAN
+> means <SPAN
+CLASS="QUOTE"
+>"do that action"</SPAN
+>, e.g.
+ <SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+> means please <SPAN
+CLASS="QUOTE"
+>"block the following URL
+ patterns"</SPAN
+>. </P
+><P
+> 
+ Actions are invoked by enclosing the action name in curly braces (e.g.
+ {+some_action}), followed by a list of URLs (or patterns that match URLs) to
+ which the action applies. There are three classes of actions: </P
+><P
+> <P
+></P
+><UL
+><LI
+><P
+>  
+   Boolean, i.e the action can only be <SPAN
+CLASS="QUOTE"
+>"on"</SPAN
+> or
+   <SPAN
+CLASS="QUOTE"
+>"off"</SPAN
+>. Examples: 
+ </P
+><P
+>   <TT
+CLASS="LITERAL"
+>    <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+name}</I
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;enable&nbsp;this&nbsp;action<br>
+&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{-name}</I
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;disable&nbsp;this&nbsp;action<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
+> 
+   </TT
+>
+  </P
+></LI
+><LI
+><P
+>  
+   Parameterized, e.g. <SPAN
+CLASS="QUOTE"
+>"+/-hide-user-agent{ Mozilla 1.0 }"</SPAN
+>, 
+   where some value is required in order to enable this type of action.
+   Examples:
+  </P
+><P
+>   <TT
+CLASS="LITERAL"
+>    <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+name{param}}</I
+>&nbsp;&nbsp;#&nbsp;enable&nbsp;action&nbsp;and&nbsp;set&nbsp;parameter&nbsp;to&nbsp;<SPAN
+CLASS="QUOTE"
+>"param"</SPAN
+><br>
+&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{-name}</I
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;disable&nbsp;action&nbsp;(<SPAN
+CLASS="QUOTE"
+>"parameter"</SPAN
+>)&nbsp;can&nbsp;be&nbsp;omitted<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
+> 
+   </TT
+>
+  </P
+></LI
+><LI
+><P
+>  
+  
+   Multi-value, e.g. <SPAN
+CLASS="QUOTE"
+>"{+/-add-header{Name: value}}"</SPAN
+> or
+   <SPAN
+CLASS="QUOTE"
+>"{+/-send-wafer{name=value}}"</SPAN
+>), where some value needs to be defined
+   in addition to simply enabling the action. Examples:
+  </P
+><P
+>   <TT
+CLASS="LITERAL"
+>    <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+name{param=value}}</I
+>&nbsp;&nbsp;&nbsp;#&nbsp;enable&nbsp;action&nbsp;and&nbsp;set&nbsp;<SPAN
+CLASS="QUOTE"
+>"param"</SPAN
+>&nbsp;to&nbsp;<SPAN
+CLASS="QUOTE"
+>"value"</SPAN
+><br>
+&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{-name{param=value}}</I
+>&nbsp;&nbsp;&nbsp;#&nbsp;remove&nbsp;the&nbsp;parameter&nbsp;<SPAN
+CLASS="QUOTE"
+>"param"</SPAN
+>&nbsp;completely<br>
+&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{-name}</I
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;disable&nbsp;this&nbsp;action&nbsp;totally&nbsp;and&nbsp;remove&nbsp;<SPAN
+CLASS="APPLICATION"
+>param</SPAN
+>&nbsp;too<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
+> 
+   </TT
+>
+  </P
+></LI
+></UL
+></P
+><P
+> If nothing is specified in any actions file, no <SPAN
+CLASS="QUOTE"
+>"actions"</SPAN
+> are
+ taken. So in this case <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> would just be a
+ normal, non-blocking, non-anonymizing proxy. You must specifically enable the
+ privacy and blocking features you need (although the provided default actions
+ files will give a good starting point).</P
+><P
+> Later defined actions always over-ride earlier ones.  So exceptions 
+ to any rules you make, should come in the latter part of the file (or 
+ in a file that is processed later when using multiple actions files). For
+ multi-valued actions, the actions are applied in the order they are specified.
+ Actions files are processed in the order they are defined in
+ <TT
+CLASS="FILENAME"
+>config</TT
+> (the default installation has three actions
+ files). It also quite possible for any given URL pattern to match more than
+ one action!</P
+><P
+> The list of valid <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> <SPAN
+CLASS="QUOTE"
+>"actions"</SPAN
+> are:</P
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="ADD-HEADER"
+>9.5.1. <I
+CLASS="EMPHASIS"
+>+add-header</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Multi-value.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Send a user defined HTTP header to the web server.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    Any value is possible. Validity of the defined HTTP headers is not checked.
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+add-header{X-User-Tracking: sucks}}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    This action may be specified multiple times, in order to define multiple 
+    headers. This is rarely needed for the typical user. If you don't know what 
+    <SPAN
+CLASS="QUOTE"
+>"HTTP headers"</SPAN
+> are, you definitely don't need to worry about this 
+    one.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="BLOCK"
+>9.5.2. <I
+CLASS="EMPHASIS"
+>+block</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Used to block a URL from reaching your browser. The URL may be 
+    anything, but is typically used to block ads or other obnoxious 
+    content.    
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>N/A</P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+block}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.banners.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.ads.r.us</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    If a URL matches one of the blocked patterns, <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+    will intercept the URL and display its special <SPAN
+CLASS="QUOTE"
+>"BLOCKED"</SPAN
+> page
+    instead. If there is sufficient space, a large red banner will appear with
+    a friendly message about why the page was blocked, and a way to go there
+    anyway. If there is insufficient space a smaller <SPAN
+CLASS="QUOTE"
+>"BLOCKED"</SPAN
+>
+    page will appear without the red banner. 
+    <A
+HREF="http://ads.bannerserver.example.com/nasty-ads/sponsor.html"
+TARGET="_top"
+>Click here</A
+>
+    to view the default blocked HTML page (<SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> must be running 
+    for this to work as intended!).
+   </P
+><P
+> 
+    A very important exception is if the URL <I
+CLASS="EMPHASIS"
+>matches both</I
+>
+    <SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+> and <A
+HREF="actions-file.html#HANDLE-AS-IMAGE"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+handle-as-image"</SPAN
+></A
+>,
+    then it will be handled by 
+    <A
+HREF="actions-file.html#SET-IMAGE-BLOCKER"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+set-image-blocker"</SPAN
+></A
+>
+    (see below). It is important to understand this process, in order 
+    to understand how <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> is able to deal with 
+    ads and other objectionable content.
+   </P
+><P
+>    The <A
+HREF="actions-file.html#FILTER"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+filter"</SPAN
+></A
+>
+    action can also perform some of the 
+    same functionality as <SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+>, but by virtue of very 
+    different programming techniques, and is most often used for different 
+    reasons.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="DEANIMATE-GIFS"
+>9.5.3. <I
+CLASS="EMPHASIS"
+>+deanimate-gifs</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    To stop those annoying, distracting animated GIF images.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    <SPAN
+CLASS="QUOTE"
+>"last"</SPAN
+> or <SPAN
+CLASS="QUOTE"
+>"first"</SPAN
+>
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+deanimate-gifs{last}}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    De-animate all animated GIF images, i.e. reduce them to their last frame.
+    This will also shrink the images considerably (in bytes, not pixels!). If
+    the option <SPAN
+CLASS="QUOTE"
+>"first"</SPAN
+> is given, the first frame of the animation
+    is used as the replacement. If <SPAN
+CLASS="QUOTE"
+>"last"</SPAN
+> is given, the last
+    frame of the animation is used instead, which probably makes more sense for
+    most banner animations, but also has the risk of not showing the entire
+    last frame (if it is only a delta to an earlier frame).
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="DOWNGRADE-HTTP-VERSION"
+>9.5.4. <I
+CLASS="EMPHASIS"
+>+downgrade-http-version</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    <SPAN
+CLASS="QUOTE"
+>"+downgrade-http-version"</SPAN
+> will downgrade HTTP/1.1 client requests to
+    HTTP/1.0 and downgrade the responses as well.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+downgrade-http-version}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    Use this action for servers that use HTTP/1.1 protocol features that
+    <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> doesn't handle well yet. HTTP/1.1 is
+    only partially implemented. Default is not to downgrade requests. This is
+    an infrequently needed action, and is used to help with rare problem sites only.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="FAST-REDIRECTS"
+>9.5.5. <I
+CLASS="EMPHASIS"
+>+fast-redirects</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    The <SPAN
+CLASS="QUOTE"
+>"+fast-redirects"</SPAN
+> action enables interception of 
+    <SPAN
+CLASS="QUOTE"
+>"redirect"</SPAN
+> requests from one server to another, which 
+    are used to track users.<SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> can cut off
+    all but the last valid URL in a redirect request and send a local redirect
+    back to your browser without contacting the intermediate site(s).
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+fast-redirects}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>  
+    Many sites, like yahoo.com, don't just link to other sites. Instead, they
+    will link to some script on their own server, giving the destination as a
+    parameter, which will then redirect you to the final target. URLs
+    resulting from this scheme typically look like:
+    <I
+CLASS="EMPHASIS"
+>http://some.place/some_script?http://some.where-else</I
+>.
+  </P
+><P
+>    Sometimes, there are even multiple consecutive redirects encoded in the
+    URL. These redirections via scripts make your web browsing more traceable,
+    since the server from which you follow such a link can see where you go
+    to. Apart from that, valuable bandwidth and time is wasted, while your
+    browser ask the server for one redirect after the other. Plus, it feeds
+    the advertisers.
+   </P
+><P
+>    This is a normally <SPAN
+CLASS="QUOTE"
+>"on"</SPAN
+> feature, and often requires exceptions
+    for sites that are sensitive to defeating this mechanism.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="FILTER"
+>9.5.6. <I
+CLASS="EMPHASIS"
+>+filter</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Apply page filtering as defined by named sections of the
+    <TT
+CLASS="FILENAME"
+>default.filter</TT
+> file to the specified site(s). 
+    <SPAN
+CLASS="QUOTE"
+>"Filtering"</SPAN
+> can be any modification of the raw 
+    page content, including re-writing or deletion of content.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    <SPAN
+CLASS="QUOTE"
+>"+filter"</SPAN
+> must include the name of one of the section identifiers
+    from <TT
+CLASS="FILENAME"
+>default.filter</TT
+> (or whatever
+    <I
+CLASS="EMPHASIS"
+>filterfile</I
+> is specified in <TT
+CLASS="FILENAME"
+>config</TT
+>).
+   </P
+></DD
+><DT
+>Example usage (from the current <TT
+CLASS="FILENAME"
+>default.filter</TT
+>):</DT
+><DD
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-HTML-ANNOYANCES"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{html-annoyances}</I
+>:  Get rid of particularly annoying HTML abuse.
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-JS-ANNOYANCES"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{js-annoyances}</I
+>:    Get rid of particularly annoying JavaScript abuse
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-CONTENT-COOKIES"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{content-cookies}</I
+>:   Kill cookies that come in the HTML or JS content 
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-POPUPS"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{popups}</I
+>:         Kill all popups in JS and HTML
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-FRAMESET-BORDERS"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{frameset-borders}</I
+>: Give frames a border and make them resizable 
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-WEBBUGS"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{webbugs}</I
+>:          Squish WebBugs (1x1 invisible GIFs used for user tracking)
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-REFRESH-TAGS"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{refresh-tags}</I
+>:     Kill automatic refresh tags (for dial-on-demand setups) 
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-FUN"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{fun}</I
+>:              Text replacements  for subversive browsing fun!
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-NIMDA"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{nimda}</I
+>:            Remove Nimda (virus) code.
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-BANNERS-BY-SIZE"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{banners-by-size}</I
+>:  Kill banners by size (<I
+CLASS="EMPHASIS"
+>very</I
+> efficient!)
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-SHOCKWAVE-FLASH"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{shockwave-flash}</I
+>:   Kill embedded Shockwave Flash objects
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>    <A
+NAME="FILTER-CRUDE-PARENTAL"
+></A
+>
+    <I
+CLASS="EMPHASIS"
+>+filter{crude-parental}</I
+>:   Kill all web pages that contain the words "sex" or "warez"
+   </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    This is potentially a very powerful feature! And requires a knowledge 
+    of regular expressions if you want to <SPAN
+CLASS="QUOTE"
+>"roll your own"</SPAN
+>.
+    Filtering operates on a line by line basis throughout the entire page.
+   </P
+><P
+>    Filtering requires buffering the page content, which may appear to
+    slow down page rendering since nothing is displayed until all content has
+    passed the filters. (It does not really take longer, but seems that way
+    since the page is not incrementally displayed.) This effect will be more
+    noticeable on slower connections.
+   </P
+><P
+>    Filtering can achieve some of the effects as the 
+    <A
+HREF="actions-file#BLOCK"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+></A
+>
+    action, i.e. it can be used to block ads and banners. In the overall 
+    scheme of things, filtering is one of the first things <SPAN
+CLASS="QUOTE"
+>"Privoxy"</SPAN
+> 
+    does with a web page. So other most other actions are applied to the 
+    already <SPAN
+CLASS="QUOTE"
+>"filtered"</SPAN
+> page.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="HIDE-FORWARDED-FOR-HEADERS"
+>9.5.7. <I
+CLASS="EMPHASIS"
+>+hide-forwarded-for-headers</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Block any existing X-Forwarded-for HTTP header, and do not add a new one.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+hide-forwarded-for-headers}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    It is fairly safe to leave this on. It does not seem to break many sites.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="HIDE-FROM-HEADER"
+>9.5.8. <I
+CLASS="EMPHASIS"
+>+hide-from-header</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    To block the browser from sending your email address in a <SPAN
+CLASS="QUOTE"
+>"From:"</SPAN
+>
+    header.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    Keyword: <SPAN
+CLASS="QUOTE"
+>"block"</SPAN
+>, or any user defined value.
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+hide-from-header{block}}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    The keyword <SPAN
+CLASS="QUOTE"
+>"block"</SPAN
+> will completely remove the header 
+    (not to be confused with the <A
+HREF="actions-file.html#BLOCK"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+></A
+> action).
+    Alternately, you can specify any value you prefer to send to the web
+    server.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="HIDE-REFERER"
+>9.5.9. <I
+CLASS="EMPHASIS"
+>+hide-referer</I
+></A
+></H4
+><A
+NAME="HIDE-REFERRER"
+></A
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>     Don't send the <SPAN
+CLASS="QUOTE"
+>"Referer:"</SPAN
+> (sic) HTTP header to the web site.
+     Or, alternately send a forged header instead.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>     Prevent the header from being sent with the keyword, <SPAN
+CLASS="QUOTE"
+>"block"</SPAN
+>.
+     Or, <SPAN
+CLASS="QUOTE"
+>"forge"</SPAN
+> a URL to one from the same server as the request.
+     Or, set to user defined value of your choice.
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+hide-referer{forge}}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    <SPAN
+CLASS="QUOTE"
+>"forge"</SPAN
+> is the preferred option here, since some servers will
+    not send images back otherwise.
+   </P
+><P
+>  
+   <SPAN
+CLASS="QUOTE"
+>"+hide-referrer"</SPAN
+> is an alternate spelling of
+   <SPAN
+CLASS="QUOTE"
+>"+hide-referer"</SPAN
+>. It has the exact same parameters, and can be freely
+   mixed with, <SPAN
+CLASS="QUOTE"
+>"+hide-referer"</SPAN
+>. (<SPAN
+CLASS="QUOTE"
+>"referrer"</SPAN
+> is the
+   correct English spelling, however the HTTP specification has a bug - it
+   requires it to be spelled as <SPAN
+CLASS="QUOTE"
+>"referer"</SPAN
+>.) 
+  </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="HIDE-USER-AGENT"
+>9.5.10. <I
+CLASS="EMPHASIS"
+>+hide-user-agent</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    To change the <SPAN
+CLASS="QUOTE"
+>"User-Agent:"</SPAN
+> header so web servers can't tell
+    your browser type. Who's business is it anyway?
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    Any user defined string.
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+hide-user-agent{Netscape 6.1 (X11; I; Linux 2.4.18 i686)}}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.msn.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>     Warning! This breaks many web sites that depend on this in order 
+     to determine how the target browser will respond to various 
+     requests. Use with caution.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="HANDLE-AS-IMAGE"
+>9.5.11. <I
+CLASS="EMPHASIS"
+>+handle-as-image</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    To define what <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> should treat 
+    automatically as an image, and is an important ingredient of how 
+    ads are handled.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+handle-as-image}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>/.*\.(gif|jpg|jpeg|png|bmp|ico)</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    This only has meaning if the URL (or pattern) also is
+    <SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+>ed, in which case a user definable image can
+    be sent rather than a HTML page. This is integral to the whole concept of
+    ad blocking: the URL must match <I
+CLASS="EMPHASIS"
+>both</I
+> a <A
+HREF="actions-file.html#BLOCK"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+></A
+> rule,
+    <I
+CLASS="EMPHASIS"
+>and</I
+> <SPAN
+CLASS="QUOTE"
+>"+handle-as-image"</SPAN
+>.
+    (See <A
+HREF="actions-file.html#SET-IMAGE-BLOCKER"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+set-image-blocker"</SPAN
+></A
+>
+    below for control over what will actually be displayed by the browser.)
+   </P
+><P
+>    There is little reason to change the default definition for this action.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="SET-IMAGE-BLOCKER"
+>9.5.12. <I
+CLASS="EMPHASIS"
+>+set-image-blocker</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Decide what to do with URLs that end up tagged with <I
+CLASS="EMPHASIS"
+>both</I
+> 
+    <A
+HREF="actions-file.html#BLOCK"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+block"</SPAN
+></A
+>
+    and <A
+HREF="actions-file.html#HANDLE-AS-IMAGE"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+handle-as-image"</SPAN
+></A
+>,
+    e.g an advertisement.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    There are four available options: <SPAN
+CLASS="QUOTE"
+>"-set-image-blocker"</SPAN
+> will send a HTML
+    <SPAN
+CLASS="QUOTE"
+>"blocked"</SPAN
+> page, usually resulting in a <SPAN
+CLASS="QUOTE"
+>"broken
+    image"</SPAN
+> icon.
+    <SPAN
+CLASS="QUOTE"
+>"+set-image-blocker{<I
+CLASS="EMPHASIS"
+>blank</I
+>}"</SPAN
+> will send a
+    1x1 transparent GIF image.
+    <SPAN
+CLASS="QUOTE"
+>"+set-image-blocker{<I
+CLASS="EMPHASIS"
+>pattern</I
+>}"</SPAN
+> will send a
+    checkerboard type pattern (the default). And finally,
+    <SPAN
+CLASS="QUOTE"
+>"+set-image-blocker{<I
+CLASS="EMPHASIS"
+>http://xyz.com</I
+>}"</SPAN
+> will
+    send a HTTP temporary redirect to the specified image. This has the
+    advantage of the icon being being cached by the browser, which will speed
+    up the display.
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+set-image-blocker{blank}}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    If you want <I
+CLASS="EMPHASIS"
+>invisible</I
+> ads, they need to meet 
+    criteria as matching both <I
+CLASS="EMPHASIS"
+>images</I
+> and <I
+CLASS="EMPHASIS"
+>blocked</I
+>
+    actions. And then, <SPAN
+CLASS="QUOTE"
+>"image-blocker"</SPAN
+> should be set to
+    <SPAN
+CLASS="QUOTE"
+>"blank"</SPAN
+> for invisibility. Note you cannot treat HTML pages as
+    images in most cases. For instance, frames require an HTML page to
+    display. So a frame that is an ad, typically cannot be treated as an image.
+    Forcing an <SPAN
+CLASS="QUOTE"
+>"image"</SPAN
+> in this situation just will not work
+    reliably. 
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="LIMIT-CONNECT"
+>9.5.13. <I
+CLASS="EMPHASIS"
+>+limit-connect</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    By default, <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> only allows HTTP CONNECT
+    requests to port 443 (the standard, secure HTTPS port). Use 
+    <SPAN
+CLASS="QUOTE"
+>"+limit-connect"</SPAN
+> to disable this altogether, or to allow 
+    more ports.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    Any valid port number, or port number range.
+   </P
+></DD
+><DT
+>Example usages:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>+limit-connect{443}</I
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;This&nbsp;is&nbsp;the&nbsp;default&nbsp;and&nbsp;need&nbsp;not&nbsp;be&nbsp;specified.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>+limit-connect{80,443}</I
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Ports&nbsp;80&nbsp;and&nbsp;443&nbsp;are&nbsp;OK.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>+limit-connect{-3, 7, 20-100, 500-}</I
+>&nbsp;&nbsp;&nbsp;#&nbsp;Port&nbsp;less&nbsp;than&nbsp;3,&nbsp;7,&nbsp;20&nbsp;to&nbsp;100&nbsp;and&nbsp;above&nbsp;500&nbsp;are&nbsp;OK.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    The CONNECT methods exists in HTTP to allow access to secure websites
+    (https:// URLs) through proxies. It works very simply: the proxy connects
+    to the server on the specified port, and then short-circuits its
+    connections to the client <I
+CLASS="EMPHASIS"
+>and</I
+> to the remote proxy.
+    This can be a big security hole, since CONNECT-enabled proxies can be
+    abused as TCP relays very easily.
+  </P
+><P
+> 
+   If you want to allow CONNECT for more ports than this, or want to forbid
+   CONNECT altogether, you can specify a comma separated list of ports and
+   port ranges (the latter using dashes, with the minimum defaulting to 0 and
+   max to 65K).
+  </P
+><P
+>   If you don't know what any of this means, there probably is no reason to 
+   change this one.
+  </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="PREVENT-COMPRESSION"
+>9.5.14. <I
+CLASS="EMPHASIS"
+>+prevent-compression</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Prevent the specified websites from compressing HTTP data.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+prevent-compression}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    Some websites do this, which can be a problem for
+    <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>, since 
+    <A
+HREF="actions-file.html#FILTER"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+filter"</SPAN
+></A
+>,
+    <A
+HREF="actions-file.html#KILL-POPUPS"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+kill-popups"</SPAN
+></A
+>
+    and <A
+HREF="actions-file.html#GIF-DEANIMATE"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+gif-deanimate"</SPAN
+></A
+>
+    will not work on compressed data. This will slow down connections to those
+    websites, though. Default typically is to turn
+    <SPAN
+CLASS="QUOTE"
+>"prevent-compression"</SPAN
+> on.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="SESSION-COOKIES-ONLY"
+>9.5.15. <I
+CLASS="EMPHASIS"
+>+session-cookies-only</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Allow cookies for the current browser session <I
+CLASS="EMPHASIS"
+>only</I
+>.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage (disabling):</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{-session-cookies-only}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    If websites set cookies, <SPAN
+CLASS="QUOTE"
+>"+session-cookies-only"</SPAN
+> will make sure
+    they are erased when you exit and restart your web browser. This makes
+    profiling cookies useless, but won't break sites which require cookies so
+    that you can log in for transactions. This is generally turned on for all 
+    sites, and is the recommended setting.
+   </P
+><P
+>    <SPAN
+CLASS="QUOTE"
+>"+prevent-*-cookies"</SPAN
+> actions should be turned off as well (see
+    below), for <SPAN
+CLASS="QUOTE"
+>"+session-cookies-only"</SPAN
+> to work. Or, else no cookies 
+    will get through at all. For, <SPAN
+CLASS="QUOTE"
+>"persistent"</SPAN
+> cookies that survive 
+    across browser sessions, see below as well.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="PREVENT-READING-COOKIES"
+>9.5.16. <I
+CLASS="EMPHASIS"
+>+prevent-reading-cookies</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Explicitly prevent the web server from reading any cookies on your 
+    system.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+prevent-reading-cookies}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    Often used in conjunction with <SPAN
+CLASS="QUOTE"
+>"+prevent-setting-cookies"</SPAN
+> to 
+    disable cookies completely. Note that 
+    <A
+HREF="actions-file.html#SESSION-COOKIES-ONLY"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+session-cookies-only"</SPAN
+></A
+>
+    requires these to both be disabled (or else it never gets any cookies to cache).
+   </P
+><P
+>    For <SPAN
+CLASS="QUOTE"
+>"persistent"</SPAN
+> cookies to work (i.e. they survive across browser 
+    sessions and reboots), all three cookie settings should be <SPAN
+CLASS="QUOTE"
+>"off"</SPAN
+> 
+    for the specified sites.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="PREVENT-SETTING-COOKIES"
+>9.5.17. <I
+CLASS="EMPHASIS"
+>+prevent-setting-cookies</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Explicitly block the web server from storing cookies on your 
+    system.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+prevent-setting-cookies}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    Often used in conjunction with <SPAN
+CLASS="QUOTE"
+>"+prevent-reading-cookies"</SPAN
+> to 
+    disable cookies completely (see above).
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="KILL-POPUP"
+>9.5.18. <I
+CLASS="EMPHASIS"
+>+kill-popups<A
+NAME="KILL-POPUPS"
+></A
+></I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Stop those annoying JavaScript pop-up windows! 
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+kill-popups}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    <SPAN
+CLASS="QUOTE"
+>"+kill-popups"</SPAN
+> uses a built in filter to disable pop-ups
+    that use the <TT
+CLASS="LITERAL"
+>window.open()</TT
+> function, etc. This is 
+    one of the first actions processed by <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+    as it contacts the remote web server. This action is not always 100% reliable, 
+    and is supplemented by <SPAN
+CLASS="QUOTE"
+>"+filter{<I
+CLASS="EMPHASIS"
+>popups</I
+>}"</SPAN
+>.
+    </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="SEND-VANILLA-WAFER"
+>9.5.19. <I
+CLASS="EMPHASIS"
+>+send-vanilla-wafer</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Boolean.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    Sends a cookie for every site stating that you do not accept any copyright
+    on cookies sent to you, and asking them not to track you.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    N/A
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+send-vanilla-wafer}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    This action only applies if you are using a <TT
+CLASS="FILENAME"
+>jarfile</TT
+>
+    for saving cookies. Of course, this is a (relatively) unique header and 
+    could conceivably be used to track you.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="SEND-WAFER"
+>9.5.20. <I
+CLASS="EMPHASIS"
+>+send-wafer</I
+></A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Type:</DT
+><DD
+><P
+>Multi-value.</P
+></DD
+><DT
+>Typical uses:</DT
+><DD
+><P
+>    This allows you to send an arbitrary, user definable cookie.
+   </P
+></DD
+><DT
+>Possible values:</DT
+><DD
+><P
+>    User specified cookie name and corresponding value.
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>{+send-wafer{name=value}}</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>.example.com</I
+><br>
+&nbsp;&nbsp;&nbsp;&nbsp;</P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    This can be specified multiple times in order to add as many cookies as you
+    like.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H3
+CLASS="SECT3"
+><A
+NAME="AEN2196"
+>9.5.21. Summary</A
+></H3
+><P
+> Note that many of these actions have the potential to cause a page to
+ misbehave, possibly even not to display at all. There are many ways 
+ a site designer may choose to design his site, and what HTTP header 
+ content, and other criteria, he may depend on. There is no way to have hard
+ and fast rules for all sites. See the <A
+HREF="appendix.html#ACTIONSANAT"
+>Appendix</A
+> for a brief example on troubleshooting
+ actions.</P
+></DIV
+><DIV
+CLASS="SECT3"
+><H2
+CLASS="SECT3"
+><A
+NAME="ACT-EXAMPLES"
+>9.5.22. Sample Actions Files</A
+></H2
+><P
+> Remember that the meaning of any of the above references is reversed by preceding
+ the action with a <SPAN
+CLASS="QUOTE"
+>"-"</SPAN
+>, in place of the <SPAN
+CLASS="QUOTE"
+>"+"</SPAN
+>. Also, 
+ that some actions are turned on in the default section of the actions file, 
+ and require little to no additional configuration. These are just <SPAN
+CLASS="QUOTE"
+>"on"</SPAN
+>.</P
+><P
+> But, other actions that are turned on in the default section <I
+CLASS="EMPHASIS"
+>do
+ typically require</I
+> exceptions to be listed in the latter sections of 
+ one of our actions file. For instance, by default no URLs are
+ <SPAN
+CLASS="QUOTE"
+>"blocked"</SPAN
+> (i.e. in the default definitions of
+ <TT
+CLASS="FILENAME"
+>default.action</TT
+>). We need exceptions to this in order to
+ <I
+CLASS="EMPHASIS"
+>enable</I
+> ad blocking in the lower sections. But we need to
+ be very selective about what we do block. Thus, the default is <SPAN
+CLASS="QUOTE"
+>"off"</SPAN
+>
+ for blocking.</P
+><P
+> Below is a liberally commented sample <TT
+CLASS="FILENAME"
+>default.action</TT
+> file
+ to demonstrate how all the pieces come together. And to show how exceptions
+ to the default policies can be handled. This is followed by a brief 
+ <TT
+CLASS="FILENAME"
+>user.action</TT
+> with similar examples.</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>#&nbsp;Sample&nbsp;default.action&nbsp;file&nbsp;&#60;developers@privoxy.org&#62;<br>
+<br>
+#&nbsp;Settings&nbsp;--&nbsp;Don't&nbsp;change!&nbsp;For&nbsp;internal&nbsp;Privoxy&nbsp;use&nbsp;ONLY.<br>
+{{settings}}<br>
+for-privoxy-version=3.0<br>
+<br>
+<br>
+##########################################################################<br>
+#&nbsp;<A
+HREF="actions-file.html#ALIASES"
+TARGET="_top"
+>Aliases</A
+>&nbsp;must&nbsp;be&nbsp;defined&nbsp;*before*&nbsp;they&nbsp;are&nbsp;used.&nbsp;These&nbsp;are<br>
+#&nbsp;easier&nbsp;to&nbsp;remember,&nbsp;and&nbsp;can&nbsp;combine&nbsp;several&nbsp;actions&nbsp;into&nbsp;one.&nbsp;Once&nbsp;<br>
+#&nbsp;defined&nbsp;they&nbsp;can&nbsp;be&nbsp;used&nbsp;just&nbsp;like&nbsp;any&nbsp;built-in&nbsp;action&nbsp;--&nbsp;but&nbsp;within&nbsp;<br>
+#&nbsp;this&nbsp;file&nbsp;only!&nbsp;Aliases&nbsp;do&nbsp;not&nbsp;require&nbsp;a&nbsp;+&nbsp;or&nbsp;-&nbsp;sign.<br>
+##########################################################################<br>
+<br>
+#&nbsp;Some&nbsp;useful&nbsp;aliases.<br>
+#&nbsp;Alias&nbsp;to&nbsp;turn&nbsp;off&nbsp;cookie&nbsp;handling,&nbsp;ie&nbsp;allow&nbsp;all&nbsp;cookies&nbsp;unmolested.<br>
+&nbsp;-prevent-cookies&nbsp;=&nbsp;-prevent-setting-cookies&nbsp;-prevent-reading-cookies&nbsp;\<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-session-cookies-only<br>
+<br>
+#&nbsp;Alias&nbsp;to&nbsp;both&nbsp;block&nbsp;and&nbsp;treat&nbsp;as&nbsp;if&nbsp;an&nbsp;image&nbsp;for&nbsp;ad&nbsp;blocking<br>
+#&nbsp;purposes.<br>
+&nbsp;+imageblock&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;+block&nbsp;+handle-as-image<br>
+<br>
+#&nbsp;Fragile&nbsp;sites&nbsp;should&nbsp;have&nbsp;the&nbsp;minimum&nbsp;changes:<br>
+&nbsp;fragile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;-block&nbsp;-deanimate-gifs&nbsp;-fast-redirects&nbsp;-filter&nbsp;-hide-referer&nbsp;\<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-prevent-cookies&nbsp;-kill-popups<br>
+<br>
+#&nbsp;Shops&nbsp;should&nbsp;be&nbsp;allowed&nbsp;to&nbsp;set&nbsp;persistent&nbsp;cookies<br>
+&nbsp;shop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;-filter&nbsp;-prevent-cookies&nbsp;-session-cookies-only<br>
+<br>
+<br>
+##########################################################################<br>
+#&nbsp;Begin&nbsp;default&nbsp;action&nbsp;settings.&nbsp;Anything&nbsp;in&nbsp;this&nbsp;section&nbsp;will&nbsp;match&nbsp;<br>
+#&nbsp;all&nbsp;URLs&nbsp;--&nbsp;UNLESS&nbsp;we&nbsp;have&nbsp;exceptions&nbsp;that&nbsp;also&nbsp;match,&nbsp;defined&nbsp;below&nbsp;this&nbsp;<br>
+#&nbsp;section.&nbsp;We&nbsp;will&nbsp;show&nbsp;all&nbsp;potential&nbsp;actions&nbsp;here&nbsp;whether&nbsp;they&nbsp;are&nbsp;on&nbsp;<br>
+#&nbsp;or&nbsp;off.&nbsp;We&nbsp;could&nbsp;omit&nbsp;any&nbsp;disabled&nbsp;action&nbsp;if&nbsp;we&nbsp;wanted,&nbsp;since&nbsp;all&nbsp;<br>
+#&nbsp;actions&nbsp;are&nbsp;'off'&nbsp;by&nbsp;default&nbsp;anyway.&nbsp;Shown&nbsp;for&nbsp;completeness&nbsp;only.<br>
+#&nbsp;Actions&nbsp;are&nbsp;enabled&nbsp;if&nbsp;preceded&nbsp;by&nbsp;a&nbsp;'+',&nbsp;otherwise&nbsp;they&nbsp;are&nbsp;disabled&nbsp;<br>
+#&nbsp;(unless&nbsp;an&nbsp;alias&nbsp;has&nbsp;been&nbsp;defined&nbsp;without&nbsp;this).<br>
+##########################################################################<br>
+&nbsp;{&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#ADD-HEADER"
+TARGET="_top"
+>-add-header</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#BLOCK"
+TARGET="_top"
+>-block</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#DEANIMATE-GIFS"
+TARGET="_top"
+>-deanimate-gifs</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#DOWNGRADE-HTTP-VERSION"
+TARGET="_top"
+>-downgrade-http-version</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FAST-REDIRECTS"
+TARGET="_top"
+>+fast-redirects</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-HTML-ANNOYANCES"
+TARGET="_top"
+>+filter{html-annoyances}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-JS-ANNOYANCES"
+TARGET="_top"
+>+filter{js-annoyances}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-CONTENT-COOKIES"
+TARGET="_top"
+>-filter{content-cookies}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-POPUPS"
+TARGET="_top"
+>-filter{popups}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-WEBBUGS"
+TARGET="_top"
+>+filter{webbugs}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-REFRESH-TAGS"
+TARGET="_top"
+>-filter{refresh-tags}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-FUN"
+TARGET="_top"
+>-filter{fun}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-NIMDA"
+TARGET="_top"
+>+filter{nimda}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-BANNERS-BY-SIZE"
+TARGET="_top"
+>+filter{banners-by-size}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-SHOCKWAVE-FLASH"
+TARGET="_top"
+>-filter{shockwave-flash}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#FILTER-CRUDE-PARENTAL"
+TARGET="_top"
+>-filter{crude-prental}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#HIDE-FORWARDED-FOR-HEADERS"
+TARGET="_top"
+>+hide-forwarded-for-headers</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#HIDE-FROM-HEADER"
+TARGET="_top"
+>+hide-from-header{block}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#HIDE-REFERER"
+TARGET="_top"
+>-hide-referrer</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#HIDE-USER-AGENT"
+TARGET="_top"
+>-hide-user-agent</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#HANDLE-AS-IMAGE"
+TARGET="_top"
+>-handle-as-image</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#SET-IMAGE-BLOCKER"
+TARGET="_top"
+>+set-image-blocker{pattern}</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#LIMIT-CONNECT"
+TARGET="_top"
+>-limit-connect</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#PREVENT-COMPRESSION"
+TARGET="_top"
+>+prevent-compression</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#SESSION-COOKIES-ONLY"
+TARGET="_top"
+>-session-cookies-only</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#PREVENT-READING-COOKIES"
+TARGET="_top"
+>-prevent-reading-cookies</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#PREVENT-SETTING-COOKIES"
+TARGET="_top"
+>-prevent-setting-cookies</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#KILL-POPUPS"
+TARGET="_top"
+>-kill-popups</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#SEND-VANILLA-WAFER"
+TARGET="_top"
+>-send-vanilla-wafer</A
+>&nbsp;\<br>
+&nbsp;<A
+HREF="actions-file.html#SEND-WAFER"
+TARGET="_top"
+>-send-wafer</A
+>&nbsp;\<br>
+&nbsp;}<br>
+&nbsp;/&nbsp;#&nbsp;forward&nbsp;slash&nbsp;will&nbsp;match&nbsp;*all*&nbsp;potential&nbsp;URL&nbsp;patterns.&nbsp;<br>
+<br>
+##########################################################################<br>
+#&nbsp;Default&nbsp;behavior&nbsp;is&nbsp;now&nbsp;set.&nbsp;Now&nbsp;we&nbsp;will&nbsp;define&nbsp;some&nbsp;exceptions&nbsp;to&nbsp;our&nbsp;<br>
+#&nbsp;default&nbsp;action&nbsp;policies.<br>
+##########################################################################<br>
+<br>
+#&nbsp;These&nbsp;sites&nbsp;are&nbsp;very&nbsp;complex&nbsp;and&nbsp;require&nbsp;very&nbsp;minimal&nbsp;interference.<br>
+#&nbsp;We'll&nbsp;disable&nbsp;most&nbsp;actions&nbsp;with&nbsp;our&nbsp;'fragile'&nbsp;alias:<br>
+&nbsp;{&nbsp;fragile&nbsp;}<br>
+&nbsp;.office.microsoft.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;surprise,&nbsp;surprise!<br>
+&nbsp;.windowsupdate.microsoft.com<br>
+<br>
+<br>
+#&nbsp;Shopping&nbsp;sites&nbsp;-&nbsp;not&nbsp;as&nbsp;fragile&nbsp;but&nbsp;require&nbsp;some&nbsp;special&nbsp;<br>
+#&nbsp;handling.&nbsp;We&nbsp;still&nbsp;want&nbsp;to&nbsp;block&nbsp;ads,&nbsp;and&nbsp;we&nbsp;will&nbsp;allow&nbsp;<br>
+#&nbsp;persistant&nbsp;cookies&nbsp;via&nbsp;the&nbsp;'shop'&nbsp;alias:<br>
+&nbsp;{&nbsp;shop&nbsp;}<br>
+&nbsp;.quietpc.com&nbsp;<br>
+&nbsp;.worldpay.com&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;quietpc.com<br>
+&nbsp;.jungle.com<br>
+&nbsp;.scan.co.uk<br>
+<br>
+<br>
+#&nbsp;These&nbsp;sites&nbsp;require&nbsp;pop-ups&nbsp;too&nbsp;:(&nbsp;&nbsp;We'll&nbsp;combine&nbsp;our&nbsp;'shop'&nbsp;<br>
+#&nbsp;alias&nbsp;with&nbsp;two&nbsp;other&nbsp;actions&nbsp;into&nbsp;one&nbsp;rule&nbsp;to&nbsp;allow&nbsp;all&nbsp;popups.<br>
+&nbsp;{&nbsp;shop&nbsp;<A
+HREF="actions-file.html#KILL-POPUPS"
+TARGET="_top"
+>-kill-popups</A
+>&nbsp;<A
+HREF="actions-file.html#FILTER-POPUPS"
+TARGET="_top"
+>-filter{popups}</A
+>&nbsp;}<br>
+&nbsp;.dabs.com<br>
+&nbsp;.overclockers.co.uk<br>
+<br>
+<br>
+#&nbsp;The&nbsp;'Fast-redirects'&nbsp;action&nbsp;breaks&nbsp;some&nbsp;sites.&nbsp;Disable&nbsp;this&nbsp;action<br>
+#&nbsp;for&nbsp;these&nbsp;known&nbsp;sensitive&nbsp;sites:<br>
+&nbsp;{&nbsp;<A
+HREF="actions-file.html#FAST-REDIRECTS"
+TARGET="_top"
+>-fast-redirects</A
+>&nbsp;}<br>
+&nbsp;login.yahoo.com<br>
+&nbsp;edit.europe.yahoo.com<br>
+&nbsp;.google.com<br>
+&nbsp;.altavista.com/.*(like|url|link):http<br>
+&nbsp;.altavista.com/trans.*urltext=http<br>
+&nbsp;.nytimes.com<br>
+<br>
+<br>
+#&nbsp;Define&nbsp;which&nbsp;file&nbsp;types&nbsp;will&nbsp;be&nbsp;treated&nbsp;as&nbsp;images.&nbsp;Important<br>
+#&nbsp;for&nbsp;ad&nbsp;blocking.<br>
+&nbsp;{&nbsp;<A
+HREF="actions-file.html#HANDLE-AS-IMAGE"
+TARGET="_top"
+>+handle-as-image</A
+>&nbsp;}<br>
+&nbsp;/.*\.(gif|jpe?g|png|bmp|ico)<br>
+<br>
+<br>
+#&nbsp;Now&nbsp;lets&nbsp;list&nbsp;some&nbsp;domains&nbsp;that&nbsp;are&nbsp;known&nbsp;ad&nbsp;generators.&nbsp;And<br>
+#&nbsp;our&nbsp;alias&nbsp;that&nbsp;we&nbsp;use&nbsp;here&nbsp;will&nbsp;block&nbsp;these&nbsp;as&nbsp;well&nbsp;as&nbsp;force&nbsp;<br>
+#&nbsp;them&nbsp;to&nbsp;be&nbsp;treated&nbsp;as&nbsp;images.&nbsp;This&nbsp;combination&nbsp;of&nbsp;actions&nbsp;is&nbsp;<br>
+#&nbsp;important&nbsp;for&nbsp;ad&nbsp;blocking.&nbsp;What&nbsp;the&nbsp;browser&nbsp;will&nbsp;show&nbsp;instead&nbsp;is&nbsp;<br>
+#&nbsp;determined&nbsp;by&nbsp;the&nbsp;setting&nbsp;of&nbsp;<A
+HREF="actions-file.html#SET-IMAGE-BLOCKER"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+set-image-blocker"</SPAN
+></A
+><br>
+&nbsp;{&nbsp;+imageblock&nbsp;}<br>
+&nbsp;ar.atwola.com&nbsp;<br>
+&nbsp;.ad.doubleclick.net<br>
+&nbsp;.a.yimg.com/(?:(?!/i/).)*$<br>
+&nbsp;.a[0-9].yimg.com/(?:(?!/i/).)*$<br>
+&nbsp;bs*.gsanet.com<br>
+&nbsp;bs*.einets.com<br>
+&nbsp;.qkimg.net<br>
+&nbsp;ad.*.doubleclick.net<br>
+<br>
+<br>
+#&nbsp;These&nbsp;will&nbsp;just&nbsp;simply&nbsp;be&nbsp;blocked.&nbsp;They&nbsp;will&nbsp;generate&nbsp;the&nbsp;BLOCKED<br>
+#&nbsp;banner&nbsp;page,&nbsp;if&nbsp;matched.&nbsp;Heavy&nbsp;use&nbsp;of&nbsp;wildcards&nbsp;and&nbsp;regular&nbsp;<br>
+#&nbsp;expressions&nbsp;in&nbsp;this&nbsp;example.&nbsp;Enable&nbsp;block&nbsp;action:<br>
+&nbsp;{&nbsp;<A
+HREF="actions-file.html#BLOCK"
+TARGET="_top"
+>+block</A
+>&nbsp;}<br>
+&nbsp;ad*.<br>
+&nbsp;.*ads.<br>
+&nbsp;banner?.<br>
+&nbsp;count*.<br>
+&nbsp;/.*count(er)?\.(pl|cgi|exe|dll|asp|php[34]?)<br>
+&nbsp;/(?:.*/)?(publicite|werbung|rekla(ma|me|am)|annonse|maino(kset|nta|s)?)/<br>
+&nbsp;.hitbox.com&nbsp;<br>
+<br>
+<br>
+#&nbsp;The&nbsp;above&nbsp;block&nbsp;section&nbsp;will&nbsp;probably&nbsp;inadvertantly&nbsp;catch&nbsp;some&nbsp;<br>
+#&nbsp;sites&nbsp;we&nbsp;DO&nbsp;NOT&nbsp;want&nbsp;blocked&nbsp;via&nbsp;the&nbsp;wildcards&nbsp;and&nbsp;regular&nbsp;expressions.&nbsp;<br>
+#&nbsp;Now&nbsp;let's&nbsp;set&nbsp;exceptions&nbsp;to&nbsp;the&nbsp;exceptions&nbsp;so&nbsp;the&nbsp;good&nbsp;guys&nbsp;get&nbsp;better&nbsp;<br>
+#&nbsp;treatment.&nbsp;Disable&nbsp;block&nbsp;action:<br>
+&nbsp;{&nbsp;<A
+HREF="actions-file.html#BLOCK"
+TARGET="_top"
+>-block</A
+>&nbsp;}<br>
+&nbsp;advogato.org<br>
+&nbsp;adsl.<br>
+&nbsp;ad[ud]*.<br>
+&nbsp;advice.<br>
+#&nbsp;Let's&nbsp;just&nbsp;trust&nbsp;all&nbsp;.edu&nbsp;top&nbsp;level&nbsp;domains.<br>
+&nbsp;.edu<br>
+&nbsp;www.ugu.com/sui/ugu/adv<br>
+#&nbsp;We'll&nbsp;need&nbsp;to&nbsp;access&nbsp;to&nbsp;path&nbsp;names&nbsp;containing&nbsp;'download'&nbsp;<br>
+&nbsp;.*downloads.<br>
+&nbsp;/downloads/<br>
+#&nbsp;'adv'&nbsp;is&nbsp;for&nbsp;globalintersec&nbsp;and&nbsp;means&nbsp;advanced,&nbsp;not&nbsp;advertisement<br>
+&nbsp;www.globalintersec.com/adv<br>
+<br>
+<br>
+#&nbsp;Don't&nbsp;filter&nbsp;*anything*&nbsp;from&nbsp;our&nbsp;friends&nbsp;at&nbsp;sourceforge.<br>
+#&nbsp;Notice&nbsp;we&nbsp;don't&nbsp;have&nbsp;to&nbsp;name&nbsp;the&nbsp;individual&nbsp;filter&nbsp;<br>
+#&nbsp;identifiers&nbsp;--&nbsp;we&nbsp;just&nbsp;turn&nbsp;them&nbsp;all&nbsp;off&nbsp;in&nbsp;one&nbsp;fell&nbsp;swoop.<br>
+#&nbsp;Disable&nbsp;all&nbsp;filters&nbsp;for&nbsp;this&nbsp;one&nbsp;site:<br>
+&nbsp;{&nbsp;<A
+HREF="actions-file.html#FILTER"
+TARGET="_top"
+>-filter</A
+>&nbsp;}<br>
+&nbsp;.sourceforge.net<br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><P
+> So far we are painting with a broad brush by setting general policies. 
+ The above would be a reasonable starting point for many situations. Now, 
+ we want to be more specific and have customized rules that are more suitable
+ to our personal habits and preferences. These would be for narrowly defined 
+ situations like your ISP or your bank, and should be placed in 
+ <TT
+CLASS="FILENAME"
+>user.action</TT
+>, which is parsed after all other 
+ actions files and should not be clobbered by upgrades. So any settings here,
+ will have the last word and over-ride any previously defined actions.</P
+><P
+> Now a few examples of some things that one might do with a
+ <TT
+CLASS="FILENAME"
+>user.action</TT
+> file. </P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>#&nbsp;Sample&nbsp;user.action&nbsp;file.<br>
+<br>
+#&nbsp;Any&nbsp;aliases&nbsp;you&nbsp;want&nbsp;to&nbsp;use&nbsp;need&nbsp;to&nbsp;be&nbsp;re-defined&nbsp;here.<br>
+#&nbsp;Alias&nbsp;to&nbsp;turn&nbsp;off&nbsp;cookie&nbsp;handling,&nbsp;ie&nbsp;allow&nbsp;all&nbsp;cookies&nbsp;unmolested.<br>
+&nbsp;-prevent-cookies&nbsp;=&nbsp;-prevent-setting-cookies&nbsp;-prevent-reading-cookies&nbsp;\<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-session-cookies-only<br>
+<br>
+#&nbsp;Fragile&nbsp;sites&nbsp;should&nbsp;have&nbsp;the&nbsp;minimum&nbsp;changes:<br>
+&nbsp;fragile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;-block&nbsp;-deanimate-gifs&nbsp;-fast-redirects&nbsp;-filter&nbsp;-hide-referer&nbsp;\<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-prevent-cookies&nbsp;-kill-popups<br>
+<br>
+#&nbsp;Allow&nbsp;persistent&nbsp;cookies&nbsp;for&nbsp;a&nbsp;few&nbsp;regular&nbsp;sites&nbsp;that&nbsp;we&nbsp;<br>
+#&nbsp;trust&nbsp;via&nbsp;our&nbsp;above&nbsp;alias.&nbsp;These&nbsp;will&nbsp;be&nbsp;saved&nbsp;from&nbsp;one&nbsp;browser&nbsp;session&nbsp;<br>
+#&nbsp;to&nbsp;the&nbsp;next.&nbsp;We&nbsp;are&nbsp;explicity&nbsp;turning&nbsp;off&nbsp;any&nbsp;and&nbsp;all&nbsp;cookie&nbsp;handling,&nbsp;<br>
+#&nbsp;even&nbsp;though&nbsp;the&nbsp;prevent-*-cookie&nbsp;settings&nbsp;were&nbsp;disabled&nbsp;in&nbsp;our&nbsp;above&nbsp;<br>
+#&nbsp;default.action&nbsp;anyway.&nbsp;So&nbsp;cookies&nbsp;from&nbsp;these&nbsp;domains&nbsp;will&nbsp;come&nbsp;through&nbsp;<br>
+#&nbsp;unmolested.<br>
+&nbsp;{&nbsp;-prevent-cookies&nbsp;}<br>
+&nbsp;.sun.com<br>
+&nbsp;.yahoo.com<br>
+&nbsp;.msdn.microsoft.com<br>
+&nbsp;.redhat.com<br>
+<br>
+<br>
+#&nbsp;My&nbsp;ISP&nbsp;uses&nbsp;obnoxious&nbsp;self&nbsp;promoting&nbsp;images&nbsp;on&nbsp;many&nbsp;pages.<br>
+#&nbsp;Nuke&nbsp;them&nbsp;:)&nbsp;Note&nbsp;that&nbsp;<A
+HREF="actions-file.html#HANDLE-AS-IMAGE"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+handle-as-image"</SPAN
+></A
+>&nbsp;need&nbsp;not&nbsp;be&nbsp;specified,<br>
+#&nbsp;since&nbsp;all&nbsp;URLs&nbsp;ending&nbsp;in&nbsp;.gif&nbsp;will&nbsp;be&nbsp;tagged&nbsp;as&nbsp;images&nbsp;by&nbsp;the<br>
+#&nbsp;general&nbsp;rules&nbsp;in&nbsp;default.action&nbsp;anyway.<br>
+&nbsp;{&nbsp;<A
+HREF="actions-file.html#BLOCK"
+TARGET="_top"
+>+block</A
+>&nbsp;}<br>
+&nbsp;www.my-isp-example.com/logo[0-9].gif<br>
+<br>
+#&nbsp;Say&nbsp;the&nbsp;site&nbsp;where&nbsp;you&nbsp;do&nbsp;your&nbsp;homebanking&nbsp;needs&nbsp;to&nbsp;open<br>
+#&nbsp;popup&nbsp;windows,&nbsp;but&nbsp;you&nbsp;have&nbsp;chosen&nbsp;to&nbsp;kill&nbsp;popups&nbsp;by<br>
+#&nbsp;default.&nbsp;This&nbsp;will&nbsp;allow&nbsp;it&nbsp;for&nbsp;your-example-bank.com:<br>
+#<br>
+&nbsp;{&nbsp;<A
+HREF="actions-file.html#FILTER-POPUPS"
+TARGET="_top"
+>-filter{popups}</A
+>&nbsp;<A
+HREF="actions-file.html#KILL-POPUPS"
+TARGET="_top"
+>-kill-popups</A
+>&nbsp;}<br>
+&nbsp;.my-example-bank.com<br>
+<br>
+#&nbsp;This&nbsp;site&nbsp;is&nbsp;delicate,&nbsp;and&nbsp;requires&nbsp;kid-glove&nbsp;<br>
+#&nbsp;treatment.<br>
+&nbsp;{&nbsp;fragile&nbsp;}<br>
+&nbsp;.forbes.com<br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+></DIV
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="ALIASES"
+>9.6. Aliases</A
+></H2
+><P
+> Custom <SPAN
+CLASS="QUOTE"
+>"actions"</SPAN
+>, known to <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+ as <SPAN
+CLASS="QUOTE"
+>"aliases"</SPAN
+>, can be defined by combining other <SPAN
+CLASS="QUOTE"
+>"actions"</SPAN
+>.
+ These can in turn be invoked just like the built-in <SPAN
+CLASS="QUOTE"
+>"actions"</SPAN
+>.
+ Currently, an alias can contain any character except space, tab, <SPAN
+CLASS="QUOTE"
+>"="</SPAN
+>,
+ <SPAN
+CLASS="QUOTE"
+>"{"</SPAN
+> or <SPAN
+CLASS="QUOTE"
+>"}"</SPAN
+>. But please use only <SPAN
+CLASS="QUOTE"
+>"a"</SPAN
+>-
+ <SPAN
+CLASS="QUOTE"
+>"z"</SPAN
+>, <SPAN
+CLASS="QUOTE"
+>"0"</SPAN
+>-<SPAN
+CLASS="QUOTE"
+>"9"</SPAN
+>, <SPAN
+CLASS="QUOTE"
+>"+"</SPAN
+>, and
+ <SPAN
+CLASS="QUOTE"
+>"-"</SPAN
+>. Alias names are not case sensitive, and 
+ <I
+CLASS="EMPHASIS"
+>must be defined before other actions</I
+> in the
+ actions file! And there can only be one set of <SPAN
+CLASS="QUOTE"
+>"aliases"</SPAN
+>
+ defined per file. Each actions file may have its own aliases, but they are 
+ only visible within that file. Aliases do not requir a <SPAN
+CLASS="QUOTE"
+>"+"</SPAN
+> or 
+ <SPAN
+CLASS="QUOTE"
+>"-"</SPAN
+> sign in front, since they are merely expanded.</P
+><P
+> Now let's define a few aliases:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;#&nbsp;Useful&nbsp;custom&nbsp;aliases&nbsp;we&nbsp;can&nbsp;use&nbsp;later.&nbsp;These&nbsp;must&nbsp;come&nbsp;first!<br>
+&nbsp;{{alias}}<br>
+&nbsp;+prevent-cookies&nbsp;=&nbsp;+prevent-setting-cookies&nbsp;+prevent-reading-cookies<br>
+&nbsp;-prevent-cookies&nbsp;=&nbsp;-prevent-setting-cookies&nbsp;-prevent-reading-cookies<br>
+&nbsp;fragile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;-block&nbsp;-prevent-cookies&nbsp;-filter&nbsp;-fast-redirects&nbsp;-hide-referer&nbsp;-kill-popups<br>
+&nbsp;shop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;-prevent-cookies&nbsp;-filter&nbsp;-fast-redirects<br>
+&nbsp;+imageblock&nbsp;=&nbsp;+block&nbsp;+handle-as-image<br>
+<br>
+&nbsp;#&nbsp;Aliases&nbsp;defined&nbsp;from&nbsp;other&nbsp;aliases,&nbsp;for&nbsp;people&nbsp;who&nbsp;don't&nbsp;like&nbsp;to&nbsp;type&nbsp;<br>
+&nbsp;#&nbsp;too&nbsp;much:&nbsp;&nbsp;;-)<br>
+&nbsp;c0&nbsp;=&nbsp;+prevent-cookies<br>
+&nbsp;c1&nbsp;=&nbsp;-prevent-cookies<br>
+&nbsp;#...&nbsp;etc.&nbsp;&nbsp;Customize&nbsp;to&nbsp;your&nbsp;heart's&nbsp;content.<br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><P
+> Some examples using our <SPAN
+CLASS="QUOTE"
+>"shop"</SPAN
+> and <SPAN
+CLASS="QUOTE"
+>"fragile"</SPAN
+>
+ aliases from above. These would appear in the lower sections of an 
+ actions file as exceptions to the default actions (as defined in the 
+ upper section):</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;#&nbsp;These&nbsp;sites&nbsp;are&nbsp;very&nbsp;complex&nbsp;and&nbsp;require<br>
+&nbsp;#&nbsp;minimal&nbsp;interference.<br>
+&nbsp;{fragile}<br>
+&nbsp;&nbsp;.office.microsoft.com<br>
+&nbsp;&nbsp;.windowsupdate.microsoft.com<br>
+&nbsp;&nbsp;.nytimes.com<br>
+<br>
+&nbsp;#&nbsp;Shopping&nbsp;sites&nbsp;-&nbsp;but&nbsp;we&nbsp;still&nbsp;want&nbsp;to&nbsp;block&nbsp;ads.<br>
+&nbsp;{shop}<br>
+&nbsp;&nbsp;.quietpc.com<br>
+&nbsp;&nbsp;.worldpay.com&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;quietpc.com<br>
+&nbsp;&nbsp;.scan.co.uk<br>
+<br>
+&nbsp;#&nbsp;These&nbsp;shops&nbsp;require&nbsp;pop-ups&nbsp;also&nbsp;<br>
+&nbsp;{shop&nbsp;-kill-popups}<br>
+&nbsp;&nbsp;.dabs.com<br>
+&nbsp;&nbsp;.overclockers.co.uk<br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><P
+> The <SPAN
+CLASS="QUOTE"
+>"shop"</SPAN
+> and <SPAN
+CLASS="QUOTE"
+>"fragile"</SPAN
+> aliases are often used for 
+ <SPAN
+CLASS="QUOTE"
+>"problem"</SPAN
+> sites that require most actions to be disabled 
+ in order to function properly.&#13;</P
+></DIV
+></DIV
+><DIV
+CLASS="NAVFOOTER"
+><HR
+ALIGN="LEFT"
+WIDTH="100%"><TABLE
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+><A
+HREF="config.html"
+>Prev</A
+></TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+><A
+HREF="index.html"
+>Home</A
+></TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+><A
+HREF="filter-file.html"
+>Next</A
+></TD
+></TR
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+>The Main Configuration File</TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+>&nbsp;</TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+>The Filter File</TD
+></TR
+></TABLE
+></DIV
+></BODY
+></HTML
+>
\ No newline at end of file
index 5206ae5..66cd90d 100644 (file)
@@ -65,7 +65,7 @@ CLASS="SECT1"
 CLASS="SECT1"
 ><A
 NAME="APPENDIX"
 CLASS="SECT1"
 ><A
 NAME="APPENDIX"
->11. Appendix</A
+>15. Appendix</A
 ></H1
 ><DIV
 CLASS="SECT2"
 ></H1
 ><DIV
 CLASS="SECT2"
@@ -73,7 +73,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="REGEX"
 CLASS="SECT2"
 ><A
 NAME="REGEX"
->11.1. Regular Expressions</A
+>15.1. Regular Expressions</A
 ></H2
 ><P
 > <SPAN
 ></H2
 ><P
 > <SPAN
@@ -751,8 +751,8 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN2545"
->11.2. <SPAN
+NAME="AEN2625"
+>15.2. <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >'s Internal Pages</A
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >'s Internal Pages</A
@@ -800,7 +800,7 @@ CLASS="APPLICATION"
    Privoxy main page: 
   </P
 ><A
    Privoxy main page: 
   </P
 ><A
-NAME="AEN2560"
+NAME="AEN2640"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -829,7 +829,7 @@ TARGET="_top"
     editing of actions files:
   </P
 ><A
     editing of actions files:
   </P
 ><A
-NAME="AEN2567"
+NAME="AEN2647"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -849,7 +849,7 @@ TARGET="_top"
     Show the source code version numbers:
   </P
 ><A
     Show the source code version numbers:
   </P
 ><A
-NAME="AEN2572"
+NAME="AEN2652"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -869,7 +869,7 @@ TARGET="_top"
    Show the browser's request headers:
   </P
 ><A
    Show the browser's request headers:
   </P
 ><A
-NAME="AEN2577"
+NAME="AEN2657"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -889,7 +889,7 @@ TARGET="_top"
    Show which actions apply to a URL and why:
   </P
 ><A
    Show which actions apply to a URL and why:
   </P
 ><A
-NAME="AEN2582"
+NAME="AEN2662"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -913,7 +913,7 @@ CLASS="QUOTE"
    to run, but only as a pass-through proxy, with no actions taking place:
   </P
 ><A
    to run, but only as a pass-through proxy, with no actions taking place:
   </P
 ><A
-NAME="AEN2588"
+NAME="AEN2668"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -930,7 +930,7 @@ TARGET="_top"
 >   Short cuts. Turn off, then on: 
   </P
 ><A
 >   Short cuts. Turn off, then on: 
   </P
 ><A
-NAME="AEN2592"
+NAME="AEN2672"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -944,7 +944,7 @@ TARGET="_top"
    </P
 ></BLOCKQUOTE
 ><A
    </P
 ></BLOCKQUOTE
 ><A
-NAME="AEN2595"
+NAME="AEN2675"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -968,7 +968,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="BOOKMARKLETS"
 CLASS="SECT3"
 ><A
 NAME="BOOKMARKLETS"
->11.2.1. Bookmarklets</A
+>15.2.1. Bookmarklets</A
 ></H3
 ><P
 > Below are some <SPAN
 ></H3
 ><P
 > Below are some <SPAN
@@ -1075,7 +1075,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="CHAIN"
 CLASS="SECT2"
 ><A
 NAME="CHAIN"
->11.3. Chain of Events</A
+>15.3. Chain of Events</A
 ></H2
 ><P
 > Let's take a quick look at the basic sequence of events when a web page is 
 ></H2
 ><P
 > Let's take a quick look at the basic sequence of events when a web page is 
@@ -1114,7 +1114,7 @@ CLASS="APPLICATION"
 >Privoxy</SPAN
 > checks to see if the URL 
    matches any <A
 >Privoxy</SPAN
 > checks to see if the URL 
    matches any <A
-HREF="configuration.html#BLOCK"
+HREF="actions-file.html#BLOCK"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1123,7 +1123,7 @@ CLASS="QUOTE"
 > patterns. If
    so, the URL is then blocked, and the remote web server will not be contacted.
    <A
 > patterns. If
    so, the URL is then blocked, and the remote web server will not be contacted.
    <A
-HREF="configuration.html#HANDLE-AS-IMAGE"
+HREF="actions-file.html#HANDLE-AS-IMAGE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1136,7 +1136,7 @@ CLASS="QUOTE"
 >"BLOCKED"</SPAN
 > page is sent back. Otherwise, if it does match,
    an image is returned. The type of image depends on the setting of <A
 >"BLOCKED"</SPAN
 > page is sent back. Otherwise, if it does match,
    an image is returned. The type of image depends on the setting of <A
-HREF="configuration.html#SET-IMAGE-BLOCKER"
+HREF="actions-file.html#SET-IMAGE-BLOCKER"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1158,7 +1158,7 @@ CLASS="FILENAME"
 ><LI
 ><P
 >   If the URL pattern matches the <A
 ><LI
 ><P
 >   If the URL pattern matches the <A
-HREF="configuration.html#FAST-REDIRECTS"
+HREF="actions-file.html#FAST-REDIRECTS"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1172,7 +1172,7 @@ CLASS="QUOTE"
 ><P
 >   Now the rest of the client browser's request headers are processed. If any
    of these match any of the relevant actions (e.g. <A
 ><P
 >   Now the rest of the client browser's request headers are processed. If any
    of these match any of the relevant actions (e.g. <A
-HREF="configuration.html#HIDE-USER-AGENT"
+HREF="actions-file.html#HIDE-USER-AGENT"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1195,7 +1195,7 @@ CLASS="QUOTE"
    things, the MIME type (document type) and encoding. The headers are then
    filtered as deterimed by the 
    <A
    things, the MIME type (document type) and encoding. The headers are then
    filtered as deterimed by the 
    <A
-HREF="configuration.html#PREVENT-SETTING-COOKIES"
+HREF="actions-file.html#PREVENT-SETTING-COOKIES"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1203,7 +1203,7 @@ CLASS="QUOTE"
 ></A
 >,
    <A
 ></A
 >,
    <A
-HREF="configuration.html#SESSION-COOKIES-ONLY"
+HREF="actions-file.html#SESSION-COOKIES-ONLY"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1211,7 +1211,7 @@ CLASS="QUOTE"
 ></A
 >,
    and <A
 ></A
 >,
    and <A
-HREF="configuration.html#DOWNGRADE-HTTP-VERSION"
+HREF="actions-file.html#DOWNGRADE-HTTP-VERSION"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1224,7 +1224,7 @@ CLASS="QUOTE"
 ><LI
 ><P
 >   If the <A
 ><LI
 ><P
 >   If the <A
-HREF="configuration.html#KILL-POPUPS"
+HREF="actions-file.html#KILL-POPUPS"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1238,7 +1238,7 @@ CLASS="QUOTE"
 ><LI
 ><P
 >   If a <A
 ><LI
 ><P
 >   If a <A
-HREF="configuration.html#FILTER"
+HREF="actions-file.html#FILTER"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1246,7 +1246,7 @@ CLASS="QUOTE"
 ></A
 >
    or <A
 ></A
 >
    or <A
-HREF="configuration.html#DEANIMATE-GIFS"
+HREF="actions-file.html#DEANIMATE-GIFS"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1273,7 +1273,7 @@ CLASS="APPLICATION"
   </P
 ><P
 >   If neither <A
   </P
 ><P
 >   If neither <A
-HREF="configuration.html#FILTER"
+HREF="actions-file.html#FILTER"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1281,7 +1281,7 @@ CLASS="QUOTE"
 ></A
 >
    or <A
 ></A
 >
    or <A
-HREF="configuration.html#DEANIMATE-GIFS"
+HREF="actions-file.html#DEANIMATE-GIFS"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1314,7 +1314,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="ACTIONSANAT"
 CLASS="SECT2"
 ><A
 NAME="ACTIONSANAT"
->11.4. Anatomy of an Action</A
+>15.4. Anatomy of an Action</A
 ></H2
 ><P
 > The way <SPAN
 ></H2
 ><P
 > The way <SPAN
@@ -1322,7 +1322,7 @@ CLASS="APPLICATION"
 >Privoxy</SPAN
 > applies 
  <A
 >Privoxy</SPAN
 > applies 
  <A
-HREF="configuration.html#ACTIONS"
+HREF="actions-file.html#ACTIONS"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1330,7 +1330,7 @@ CLASS="QUOTE"
 ></A
 >
  and <A
 ></A
 >
  and <A
-HREF="configuration.html#FILTER"
+HREF="actions-file.html#FILTER"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1391,7 +1391,7 @@ CLASS="APPLICATION"
 > will tell us 
  how the current configuration will handle it. This will not
  help with filtering effects (i.e. the <A
 > will tell us 
  how the current configuration will handle it. This will not
  help with filtering effects (i.e. the <A
-HREF="configuration.html#FILTER"
+HREF="actions-file.html#FILTER"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1461,7 +1461,7 @@ CLASS="SCREEN"
 ><P
 > This tells us how we have defined our 
  <A
 ><P
 > This tells us how we have defined our 
  <A
-HREF="configuration.html#ACTIONS"
+HREF="actions-file.html#ACTIONS"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1510,7 +1510,7 @@ CLASS="QUOTE"
 >".google.com"</SPAN
 >. The first is negating our previous cookie setting, 
  which was for <A
 >".google.com"</SPAN
 >. The first is negating our previous cookie setting, 
  which was for <A
-HREF="configuration.html#SESSION-COOKIES-ONLY"
+HREF="actions-file.html#SESSION-COOKIES-ONLY"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1523,7 +1523,7 @@ CLASS="EMPHASIS"
 >off</I
 > any 
  <A
 >off</I
 > any 
  <A
-HREF="configuration.html#FAST-REDIRECTS"
+HREF="actions-file.html#FAST-REDIRECTS"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1635,7 +1635,7 @@ CLASS="QUOTE"
 CLASS="QUOTE"
 >"+imageblock"</SPAN
 >. (<A
 CLASS="QUOTE"
 >"+imageblock"</SPAN
 >. (<A
-HREF="configuration.html#ALIASES"
+HREF="actions-file.html#ALIASES"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1654,7 +1654,7 @@ CLASS="QUOTE"
 >"ad.doubleclick.net"</SPAN
 >
  is done here -- as both a <A
 >"ad.doubleclick.net"</SPAN
 >
  is done here -- as both a <A
-HREF="configuration.html#BLOCK"
+HREF="actions-file.html#BLOCK"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
@@ -1666,7 +1666,7 @@ CLASS="EMPHASIS"
 >and</I
 > an 
  <A
 >and</I
 > an 
  <A
-HREF="configuration.html#HANDLE-AS-IMAGE"
+HREF="actions-file.html#HANDLE-AS-IMAGE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
diff --git a/doc/webserver/user-manual/config.html b/doc/webserver/user-manual/config.html
new file mode 100644 (file)
index 0000000..bd5a9ef
--- /dev/null
@@ -0,0 +1,2789 @@
+<HTML
+><HEAD
+><TITLE
+>The Main Configuration File</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
+"><LINK
+REL="HOME"
+TITLE="Privoxy User Manual"
+HREF="index.html"><LINK
+REL="PREVIOUS"
+TITLE="Privoxy Configuration"
+HREF="configuration.html"><LINK
+REL="NEXT"
+TITLE="Actions Files"
+HREF="actions-file.html"><LINK
+REL="STYLESHEET"
+TYPE="text/css"
+HREF="../p_doc.css"></HEAD
+><BODY
+CLASS="SECT1"
+BGCOLOR="#EEEEEE"
+TEXT="#000000"
+LINK="#0000FF"
+VLINK="#840084"
+ALINK="#0000FF"
+><DIV
+CLASS="NAVHEADER"
+><TABLE
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TH
+COLSPAN="3"
+ALIGN="center"
+>Privoxy User Manual</TH
+></TR
+><TR
+><TD
+WIDTH="10%"
+ALIGN="left"
+VALIGN="bottom"
+><A
+HREF="configuration.html"
+>Prev</A
+></TD
+><TD
+WIDTH="80%"
+ALIGN="center"
+VALIGN="bottom"
+></TD
+><TD
+WIDTH="10%"
+ALIGN="right"
+VALIGN="bottom"
+><A
+HREF="actions-file.html"
+>Next</A
+></TD
+></TR
+></TABLE
+><HR
+ALIGN="LEFT"
+WIDTH="100%"></DIV
+><DIV
+CLASS="SECT1"
+><H1
+CLASS="SECT1"
+><A
+NAME="CONFIG"
+>8. The Main Configuration File</A
+></H1
+><P
+> Again, the main configuration file is named <TT
+CLASS="FILENAME"
+>config</TT
+> on
+ Linux/Unix/BSD and OS/2, and <TT
+CLASS="FILENAME"
+>config.txt</TT
+> on Windows.
+ Configuration lines consist of an initial keyword followed by a list of
+ values, all separated by whitespace (any number of spaces or tabs). For
+ example:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>confdir /etc/privoxy</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+>
+ </TT
+> </P
+><P
+> Assigns the value <TT
+CLASS="LITERAL"
+>/etc/privoxy</TT
+> to the option
+ <TT
+CLASS="LITERAL"
+>confdir</TT
+> and thus indicates that the configuration
+ directory is named <SPAN
+CLASS="QUOTE"
+>"/etc/privoxy/"</SPAN
+>.</P
+><P
+> All options in the config file except for <TT
+CLASS="LITERAL"
+>confdir</TT
+> and
+ <TT
+CLASS="LITERAL"
+>logdir</TT
+> are optional. Watch out in the below description
+ for what happens if you leave them unset.</P
+><P
+> The main config file controls all aspects of <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>'s
+ operation that are not location dependent (i.e. they apply universally, no matter
+ where you may be surfing).</P
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="CONF-LOG-LOC"
+>8.1. Configuration and Log File Locations</A
+></H2
+><P
+> <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> can (and normally does) use a number of
+ other files for additional configuration, help and logging.
+ This section of the configuration file tells <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+ where to find those other files. </P
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="CONFDIR"
+>8.1.1. confdir</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>The directory where the other configuration files are located</P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>Path name</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>/etc/privoxy (Unix) <I
+CLASS="EMPHASIS"
+>or</I
+> <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> installation dir (Windows) </P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Mandatory</I
+></P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    No trailing <SPAN
+CLASS="QUOTE"
+>"<TT
+CLASS="LITERAL"
+>/</TT
+>"</SPAN
+>, please
+   </P
+><P
+>    When development goes modular and multi-user, the blocker, filter, and
+    per-user config will be stored in subdirectories of <SPAN
+CLASS="QUOTE"
+>"confdir"</SPAN
+>.
+    For now, the configuration directory structure is flat, except for 
+    <TT
+CLASS="FILENAME"
+>confdir/templates</TT
+>, where the HTML templates for CGI 
+    output reside (e.g. <SPAN
+CLASS="APPLICATION"
+>Privoxy's</SPAN
+> 404 error page). 
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="LOGDIR"
+>8.1.2. logdir</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    The directory where all logging takes place (i.e. where <TT
+CLASS="FILENAME"
+>logfile</TT
+> and 
+    <TT
+CLASS="FILENAME"
+>jarfile</TT
+> are located) 
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>Path name</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>/var/log/privoxy (Unix) <I
+CLASS="EMPHASIS"
+>or</I
+> <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> installation dir (Windows) </P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Mandatory</I
+></P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    No trailing <SPAN
+CLASS="QUOTE"
+>"<TT
+CLASS="LITERAL"
+>/</TT
+>"</SPAN
+>, please
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="ACTIONSFILE"
+>8.1.3. actionsfile</A
+></H4
+><A
+NAME="DEFAULT.ACTION"
+></A
+><A
+NAME="STANDARD.ACTION"
+></A
+><A
+NAME="USER.ACTION"
+></A
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    The <A
+HREF="actions-file.html#ACTIONS"
+>actions</A
+> file(s) to use
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>File name, relative to <TT
+CLASS="LITERAL"
+>confdir</TT
+></P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+></P
+><TABLE
+BORDER="0"
+><TBODY
+><TR
+><TD
+>     <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;standard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Internal&nbsp;purposes,&nbsp;recommended&nbsp;not&nbsp;editing</P
+>
+    </TD
+></TR
+><TR
+><TD
+>     <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Main&nbsp;actions&nbsp;file</P
+>
+    </TD
+></TR
+><TR
+><TD
+>     <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;User&nbsp;customizations</P
+>
+    </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    No actions are taken at all. Simple neutral proxying. 
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    Multiple <TT
+CLASS="LITERAL"
+>actionsfile</TT
+> lines are permitted, and are in fact recommended!
+   </P
+><P
+> 
+    The default values include standard.action, which is used for internal
+    purposes and should be loaded, default.action, which is the
+    <SPAN
+CLASS="QUOTE"
+>"main"</SPAN
+> actions file maintained by the developers, and
+    <TT
+CLASS="FILENAME"
+>user.action</TT
+>, where you can make your personal additions.
+   </P
+><P
+> 
+    Actions files are where all the per site and per URL configuration is done for 
+    ad blocking, cookie management, privacy considerations, etc.
+    There is no point in using <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> without at 
+    least one actions file.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="FILTERFILE"
+>8.1.4. filterfile</A
+></H4
+><A
+NAME="DEFAULT.FILTER"
+></A
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    The <A
+HREF="actions-file.html#FILTER"
+>filter</A
+> file to use
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>File name, relative to <TT
+CLASS="LITERAL"
+>confdir</TT
+></P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>default.filter (Unix) <I
+CLASS="EMPHASIS"
+>or</I
+> default.filter.txt (Windows)</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    No textual content filtering takes place, i.e. all
+    <TT
+CLASS="LITERAL"
+>+filter{<TT
+CLASS="REPLACEABLE"
+><I
+>name</I
+></TT
+>}</TT
+>
+    actions in the actions files are turned off
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    The <SPAN
+CLASS="QUOTE"
+>"default.filter"</SPAN
+> file contains content modification rules 
+    that use <SPAN
+CLASS="QUOTE"
+>"regular expressions"</SPAN
+>. 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
+CLASS="QUOTE"
+>"Microsoft"</SPAN
+> with <SPAN
+CLASS="QUOTE"
+>"MicroSuck"</SPAN
+> wherever
+    it appears on a Web page.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="LOGFILE"
+>8.1.5. logfile</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    The log file to use
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>File name, relative to <TT
+CLASS="LITERAL"
+>logdir</TT
+></P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>logfile (Unix) <I
+CLASS="EMPHASIS"
+>or</I
+> privoxy.log (Windows)</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    No log file is used, all log messages go to the console (<TT
+CLASS="LITERAL"
+>stderr</TT
+>).
+   </P
+></DD
+><DT
+>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"
+>debug</TT
+>
+    option (see below). The logfile can be useful for tracking down a problem with
+    <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> (e.g., it's not blocking an ad you
+    think it should block) but in most cases you probably will never look at it.
+   </P
+><P
+>    Your logfile will grow indefinitely, and you will probably want to
+    periodically remove it.  On Unix systems, you can do this with a cron job
+    (see <SPAN
+CLASS="QUOTE"
+>"man cron"</SPAN
+>). For Red Hat, a <B
+CLASS="COMMAND"
+>logrotate</B
+> 
+    script has been included.
+   </P
+><P
+>    On SuSE Linux systems, you can place a line like <SPAN
+CLASS="QUOTE"
+>"/var/log/privoxy.*
+    +1024k 644 nobody.nogroup"</SPAN
+> in <TT
+CLASS="FILENAME"
+>/etc/logfiles</TT
+>, with
+    the effect that cron.daily will automatically archive, gzip, and empty the
+    log, when it exceeds 1M size.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="JARFILE"
+>8.1.6. jarfile</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    The file to store intercepted cookies in
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>File name, relative to <TT
+CLASS="LITERAL"
+>logdir</TT
+></P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>jarfile (Unix) <I
+CLASS="EMPHASIS"
+>or</I
+> privoxy.jar (Windows)</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Intercepted cookies are not stored at all.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    The jarfile may grow to ridiculous sizes over time.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="TRUSTFILE"
+>8.1.7. trustfile</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    The trust file to use
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>File name, relative to <TT
+CLASS="LITERAL"
+>confdir</TT
+></P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Unset (commented out)</I
+>. When activated: trust (Unix) <I
+CLASS="EMPHASIS"
+>or</I
+> trust.txt (Windows)</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    The whole trust mechanism is turned off.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    The trust mechanism is an experimental feature for building white-lists and should
+    be used with care. It is <I
+CLASS="EMPHASIS"
+>NOT</I
+> recommended for the casual user.
+   </P
+><P
+>    If you specify a trust file, <SPAN
+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
+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
+CLASS="QUOTE"
+>"trustfile"</SPAN
+>.
+    Possible applications include limiting Internet access for children.
+   </P
+><P
+>    If you use <TT
+CLASS="LITERAL"
+>+</TT
+> operator in the trust file, it may grow considerably over time.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="USER-MANUAL"
+>8.1.8. user-manual</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Location of the <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> User Manual.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>A fully qualified URI</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+><A
+HREF="http://www.privoxy.org/user-manual/"
+TARGET="_top"
+>http://www.privoxy.org/user-manual/</A
+></P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    The default will be used.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    The User Manual is used for help hints from some of the internal CGI pages. 
+    It is normally packaged with the binary distributions, and would make more 
+    sense to have this pointed at a locally installed copy.
+   </P
+><P
+>    A more useful example (Unix):
+   </P
+><P
+> 
+   Â Â <I
+CLASS="EMPHASIS"
+>user-manual  file:///usr/share/doc/privoxy-2.9.14/user-manual/</I
+>
+  </P
+></DD
+></DL
+></DIV
+></DIV
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="LOCAL-SET-UP"
+>8.2. Local Set-up Documentation</A
+></H2
+><P
+>    If you intend to operate <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> for more users
+    that just yourself, it might be a good idea to let them know how to reach
+    you, what you block and why you do that, your policies etc.
+   </P
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="TRUST-INFO-URL"
+>8.2.1. trust-info-url</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    A URL to be displayed in the error page that users will see if access to an untrusted page is denied.    
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>URL</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>Two example URL are provided</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    No links are displayed on the "untrusted" error page.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    The value of this option only matters if the experimental trust mechanism has been
+    activated. (See <TT
+CLASS="LITERAL"
+>trustfile</TT
+> above.)
+   </P
+><P
+>    If you use the trust mechanism, it is a good idea to write up some on-line
+    documentation about your trust policy and to specify the URL(s) here.
+    Use multiple times for multiple URLs.
+   </P
+><P
+>    The URL(s) should be added to the trustfile as well, so users don't end up
+    locked out from the information on why they were locked out in the first place!
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="ADMIN-ADDRESS"
+>8.2.2. admin-address</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    An email address to reach the proxy administrator.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>Email address</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Unset</I
+></P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    No email address is displayed on error pages and the CGI user interface.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    If both <TT
+CLASS="LITERAL"
+>admin-address</TT
+> and <TT
+CLASS="LITERAL"
+>proxy-info-url</TT
+>
+    are unset, the whole "Local Privoxy Support" box on all generated pages will
+    not be shown.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="PROXY-INFO-URL"
+>8.2.3. proxy-info-url</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    A URL to documentation about the local <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> setup,
+    configuration or policies.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>URL</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Unset</I
+></P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    No link to local documentation is displayed on error pages and the CGI user interface.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    If both <TT
+CLASS="LITERAL"
+>admin-address</TT
+> and <TT
+CLASS="LITERAL"
+>proxy-info-url</TT
+>
+    are unset, the whole "Local Privoxy Support" box on all generated pages will
+    not be shown.
+   </P
+><P
+>    This URL shouldn't be blocked ;-)
+   </P
+></DD
+></DL
+></DIV
+></DIV
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="DEBUGGING"
+>8.3. Debugging</A
+></H2
+><P
+>  These options are mainly useful when tracing a problem.
+  Note that you might also want to invoke
+  <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> with the <TT
+CLASS="LITERAL"
+>--no-daemon</TT
+>
+  command line option when debugging.
+ </P
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="DEBUG"
+>8.3.1. debug</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Key values that determine what information gets logged.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>Integer values</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>12289 (i.e.: URLs plus informational and warning messages)</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Nothing gets logged.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    The available debug levels are:
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>  debug         1 # show each GET/POST/CONNECT request
+  debug         2 # show each connection status
+  debug         4 # show I/O status
+  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       128 # debug fast redirects
+  debug       256 # debug GIF de-animation
+  debug       512 # Common Log Format
+  debug      1024 # debug kill pop-ups
+  debug      4096 # Startup banner and warnings.
+  debug      8192 # Non-fatal errors</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+><P
+>    To select multiple debug levels, you can either add them or use
+    multiple <TT
+CLASS="LITERAL"
+>debug</TT
+> lines.
+   </P
+><P
+>    A debug level of 1 is informative because it will show you each request
+    as it happens. <I
+CLASS="EMPHASIS"
+>1, 4096 and 8192 are highly recommended</I
+>
+    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
+    a hell of an output (especially 16).
+    
+   </P
+><P
+>    The reporting of <I
+CLASS="EMPHASIS"
+>fatal</I
+> errors (i.e. ones which crash 
+    <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>) is always on and cannot be disabled.
+   </P
+><P
+>    If you want to use CLF (Common Log Format), you should set <SPAN
+CLASS="QUOTE"
+>"debug
+    512"</SPAN
+> <I
+CLASS="EMPHASIS"
+>ONLY</I
+> and not enable anything else.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="SINGLE-THREADED"
+>8.3.2. single-threaded</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Whether to run only one server thread
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>None</I
+></P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Unset</I
+></P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Multi-threaded (or, where unavailable: forked) operation, i.e. the ability to
+    serve multiple requests simultaneously.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    This option is only there for debug purposes and you should never
+    need to use it. <I
+CLASS="EMPHASIS"
+>It will drastically reduce performance.</I
+>
+   </P
+></DD
+></DL
+></DIV
+></DIV
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="ACCESS-CONTROL"
+>8.4. Access Control and Security</A
+></H2
+><P
+>  This section of the config file controls the security-relevant aspects
+  of <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>'s configuration.
+ </P
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="LISTEN-ADDRESS"
+>8.4.1. listen-address</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    The IP address and TCP port on which <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> will
+    listen for client requests.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>[<TT
+CLASS="REPLACEABLE"
+><I
+>IP-Address</I
+></TT
+>]:<TT
+CLASS="REPLACEABLE"
+><I
+>Port</I
+></TT
+></P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>localhost:8118</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Bind to localhost (127.0.0.1), port 8118. This is suitable and recommended for
+    home users who run <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> on the same machine as
+    their browser.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    You will need to configure your browser(s) to this proxy address and port.
+   </P
+><P
+>    If you already have another service running on port 8118, or if you want to
+    serve requests from other machines (e.g. on your local network) as well, you
+    will need to override the default.
+   </P
+><P
+>    If you leave out the IP address, <SPAN
+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.
+   </P
+></DD
+><DT
+>Example:</DT
+><DD
+><P
+>     Suppose you are running <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> on
+     a machine which has the address 192.168.0.1 on your local private network
+     (192.168.0.0) and has another outside connection with a different address.
+     You want it to serve requests from inside only:
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>  listen-address  192.168.0.1:8118</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="TOGGLE"
+>8.4.2. toggle</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Initial state of "toggle" status
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>1 or 0</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>1</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Act as if toggled on
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    If set to 0, <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> will start in
+    <SPAN
+CLASS="QUOTE"
+>"toggled off"</SPAN
+> mode, i.e. behave like a normal, content-neutral
+    proxy. See <TT
+CLASS="LITERAL"
+>enable-remote-toggle</TT
+>
+    below. This is not really useful anymore, since toggling is much easier
+    via <A
+HREF="http://config.privoxy.org/toggle"
+TARGET="_top"
+>the web
+    interface</A
+> than via editing the <TT
+CLASS="FILENAME"
+>conf</TT
+> file.
+   </P
+><P
+>    The windows version will only display the toggle icon in the system tray
+    if this option is present.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="ENABLE-REMOTE-TOGGLE"
+>8.4.3. enable-remote-toggle</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Whether or not the <A
+HREF="http://config.privoxy.org/toggle"
+TARGET="_top"
+>web-based toggle
+    feature</A
+> may be used
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>0 or 1</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>1</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    The web-based toggle feature is disabled.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    When toggled off, <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> acts like a normal,
+    content-neutral proxy, i.e. it acts as if none of the actions applied to
+    any URL.
+   </P
+><P
+>    For the time being, access to the toggle feature can <I
+CLASS="EMPHASIS"
+>not</I
+> be
+    controlled separately by <SPAN
+CLASS="QUOTE"
+>"ACLs"</SPAN
+> or HTTP authentication,
+    so that everybody who can access <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> (see
+    <SPAN
+CLASS="QUOTE"
+>"ACLs"</SPAN
+> and <TT
+CLASS="LITERAL"
+>listen-address</TT
+> above) can
+    toggle it for all users. So this option is <I
+CLASS="EMPHASIS"
+>not recommended</I
+>
+    for multi-user environments with untrusted users.
+   </P
+><P
+>    Note that you must have compiled <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> with
+    support for this feature, otherwise this option has no effect. 
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="ENABLE-EDIT-ACTIONS"
+>8.4.4. enable-edit-actions</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Whether or not the <A
+HREF="http://config.privoxy.org/show-status"
+TARGET="_top"
+>web-based actions
+    file editor</A
+> may be used
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>0 or 1</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>1</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    The web-based actions file editor is disabled.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    For the time being, access to the editor can <I
+CLASS="EMPHASIS"
+>not</I
+> be
+    controlled separately by <SPAN
+CLASS="QUOTE"
+>"ACLs"</SPAN
+> or HTTP authentication,
+    so that everybody who can access <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> (see
+    <SPAN
+CLASS="QUOTE"
+>"ACLs"</SPAN
+> and <TT
+CLASS="LITERAL"
+>listen-address</TT
+> above) can
+    modify its configuration for all users. So this option is <I
+CLASS="EMPHASIS"
+>not
+    recommended</I
+> for multi-user environments with untrusted users.
+   </P
+><P
+>    Note that you must have compiled <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> with
+    support for this feature, otherwise this option has no effect. 
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="ACLS"
+>8.4.5. ACLs: permit-access and deny-access</A
+></H4
+><A
+NAME="PERMIT-ACCES"
+></A
+><A
+NAME="DENY-ACCES"
+></A
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Who can access what.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>    <TT
+CLASS="REPLACEABLE"
+><I
+>src_addr</I
+></TT
+>[/<TT
+CLASS="REPLACEABLE"
+><I
+>src_masklen</I
+></TT
+>]
+    [<TT
+CLASS="REPLACEABLE"
+><I
+>dst_addr</I
+></TT
+>[/<TT
+CLASS="REPLACEABLE"
+><I
+>dst_masklen</I
+></TT
+>]]
+   </P
+><P
+>    Where <TT
+CLASS="REPLACEABLE"
+><I
+>src_addr</I
+></TT
+> and 
+   <TT
+CLASS="REPLACEABLE"
+><I
+>dst_addr</I
+></TT
+> are IP addresses in dotted decimal notation or valid
+    DNS names, and <TT
+CLASS="REPLACEABLE"
+><I
+>src_masklen</I
+></TT
+> and
+    <TT
+CLASS="REPLACEABLE"
+><I
+>dst_masklen</I
+></TT
+> are subnet masks in CIDR notation, i.e. integer
+    values from 2 to 30 representing the length (in bits) of the network address. The masks and the whole
+    destination part are optional.
+   </P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Unset</I
+></P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Don't restrict access further than implied by <TT
+CLASS="LITERAL"
+>listen-address</TT
+>
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    Access controls are included at the request of ISPs and systems
+    administrators, and <I
+CLASS="EMPHASIS"
+>are not usually needed by individual users</I
+>.
+    For a typical home user, it will normally suffice to ensure that 
+    <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> only listens on the localhost or internal (home)
+    network address by means of the <TT
+CLASS="LITERAL"
+>listen-address</TT
+> option.
+   </P
+><P
+>    Please see the warnings in the FAQ that this proxy is not intended to be a substitute
+    for a firewall or to encourage anyone to defer addressing basic security
+    weaknesses.
+   </P
+><P
+>    Multiple ACL lines are OK.
+    If any ACLs are specified, then the <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+    talks only to IP addresses that match at least one <TT
+CLASS="LITERAL"
+>permit-access</TT
+> line
+    and don't match any subsequent <TT
+CLASS="LITERAL"
+>deny-access</TT
+> line. In other words, the
+    last match wins, with the default being <TT
+CLASS="LITERAL"
+>deny-access</TT
+>.
+   </P
+><P
+>    If <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> is using a forwarder (see <TT
+CLASS="LITERAL"
+>forward</TT
+> below)
+    for a particular destination URL, the <TT
+CLASS="REPLACEABLE"
+><I
+>dst_addr</I
+></TT
+>
+    that is examined is the address of the forwarder and <I
+CLASS="EMPHASIS"
+>NOT</I
+> the address
+    of the ultimate target. This is necessary because it may be impossible for the local
+    <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> to determine the IP address of the
+    ultimate target (that's often what gateways are used for).
+   </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
+CLASS="EMPHASIS"
+>not</I
+> use domain patterns
+    like <SPAN
+CLASS="QUOTE"
+>"*.org"</SPAN
+> or partial domain names. If a DNS name resolves to multiple
+    IP addresses, only the first one is used.
+   </P
+><P
+>    Denying access to particular sites by ACL may have undesired side effects
+    if the site in question is hosted on a machine which also hosts other sites.
+   </P
+></DD
+><DT
+>Examples:</DT
+><DD
+><P
+>    Explicitly define the default behavior if no ACL and
+    <TT
+CLASS="LITERAL"
+>listen-address</TT
+> are set: <SPAN
+CLASS="QUOTE"
+>"localhost"</SPAN
+>
+    is OK. The absence of a <TT
+CLASS="REPLACEABLE"
+><I
+>dst_addr</I
+></TT
+> implies that
+    <I
+CLASS="EMPHASIS"
+>all</I
+> destination addresses are OK:
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  permit-access  localhost</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+><P
+>    Allow any host on the same class C subnet as www.privoxy.org access to
+    nothing but www.example.com:
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  permit-access  www.privoxy.org/24 www.example.com/32</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+><P
+>    Allow access from any host on the 26-bit subnet 192.168.45.64 to anywhere,
+    with the exception that 192.168.45.73 may not access www.dirty-stuff.example.com:
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  permit-access  192.168.45.64/26
+  deny-access    192.168.45.73    www.dirty-stuff.example.com</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="BUFFER-LIMIT"
+>8.4.6. buffer-limit</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Maximum size of the buffer for content filtering.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>Size in Kbytes</P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+>4096</P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Use a 4MB (4096 KB) limit.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    For content filtering, i.e. the <TT
+CLASS="LITERAL"
+>+filter</TT
+> and
+    <TT
+CLASS="LITERAL"
+>+deanimate-gif</TT
+> actions, it is necessary that 
+    <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> buffers the entire document body.
+    This can be potentially dangerous, since a server could just keep sending
+    data indefinitely and wait for your RAM to exhaust -- with nasty consequences.
+    Hence this option.
+   </P
+><P
+>    When a document buffer size reaches the <TT
+CLASS="LITERAL"
+>buffer-limit</TT
+>, it is
+    flushed to the client unfiltered and no further attempt to
+    filter the rest of the document is made. Remember that there may be multiple threads
+    running, which might require up to <TT
+CLASS="LITERAL"
+>buffer-limit</TT
+> Kbytes
+    <I
+CLASS="EMPHASIS"
+>each</I
+>, unless you have enabled <SPAN
+CLASS="QUOTE"
+>"single-threaded"</SPAN
+>
+    above.
+   </P
+></DD
+></DL
+></DIV
+></DIV
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="FORWARDING"
+>8.5. Forwarding</A
+></H2
+><P
+> This feature allows routing of HTTP requests through a chain of
+ multiple proxies.
+ It can be used to better protect privacy and confidentiality when
+ accessing specific domains by routing requests to those domains
+ through an anonymous public proxy (see e.g. <A
+HREF="http://www.multiproxy.org/anon_list.htm"
+TARGET="_top"
+>http://www.multiproxy.org/anon_list.htm</A
+>)
+ Or to use a caching proxy to speed up browsing. Or chaining to a parent
+ proxy may be necessary because the machine that <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+ runs on has no direct Internet access.</P
+><P
+> Also specified here are SOCKS proxies. <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+ supports the SOCKS 4 and SOCKS 4A protocols.</P
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="FORWARD"
+>8.5.1. forward</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    To which parent HTTP proxy specific requests should be routed.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>    <TT
+CLASS="REPLACEABLE"
+><I
+>target_domain</I
+></TT
+>[:<TT
+CLASS="REPLACEABLE"
+><I
+>port</I
+></TT
+>]
+    <TT
+CLASS="REPLACEABLE"
+><I
+>http_parent</I
+></TT
+>[/<TT
+CLASS="REPLACEABLE"
+><I
+>port</I
+></TT
+>]
+   </P
+><P
+>    Where <TT
+CLASS="REPLACEABLE"
+><I
+>target_domain</I
+></TT
+> is a domain name pattern (see the
+    chapter on domain matching in the <TT
+CLASS="FILENAME"
+>default.action</TT
+> file),
+    <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
+CLASS="REPLACEABLE"
+><I
+>port</I
+></TT
+> parameters are TCP ports, i.e. integer
+    values from 1 to 64535
+   </P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Unset</I
+></P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Don't use parent HTTP proxies.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    If <TT
+CLASS="REPLACEABLE"
+><I
+>http_parent</I
+></TT
+> is <SPAN
+CLASS="QUOTE"
+>"."</SPAN
+>, then requests are not
+    forwarded to another HTTP proxy but are made directly to the web servers.
+   </P
+><P
+>    Multiple lines are OK, they are checked in sequence, and the last match wins.
+   </P
+></DD
+><DT
+>Examples:</DT
+><DD
+><P
+>    Everything goes to an example anonymizing proxy, except SSL on port 443 (which it doesn't handle):
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  forward   .*     anon-proxy.example.org:8080
+  forward   :443   .</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+><P
+>    Everything goes to our example ISP's caching proxy, except for requests
+    to that ISP's sites:
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  forward   .*.                caching-proxy.example-isp.net:8000
+  forward   .example-isp.net   .</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="SOCKS"
+>8.5.2. forward-socks4 and forward-socks4a</A
+></H4
+><A
+NAME="FORWARD-SOCKS4"
+></A
+><A
+NAME="FORWARD-SOCKS4A"
+></A
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Specifies:</DT
+><DD
+><P
+>    Through which SOCKS proxy (and to which parent HTTP proxy) specific requests should be routed.
+   </P
+></DD
+><DT
+>Type of value:</DT
+><DD
+><P
+>    <TT
+CLASS="REPLACEABLE"
+><I
+>target_domain</I
+></TT
+>[:<TT
+CLASS="REPLACEABLE"
+><I
+>port</I
+></TT
+>]
+    <TT
+CLASS="REPLACEABLE"
+><I
+>socks_proxy</I
+></TT
+>[/<TT
+CLASS="REPLACEABLE"
+><I
+>port</I
+></TT
+>]
+    <TT
+CLASS="REPLACEABLE"
+><I
+>http_parent</I
+></TT
+>[/<TT
+CLASS="REPLACEABLE"
+><I
+>port</I
+></TT
+>]
+   </P
+><P
+>    Where <TT
+CLASS="REPLACEABLE"
+><I
+>target_domain</I
+></TT
+> is a domain name pattern (see the
+    chapter on domain matching in the <TT
+CLASS="FILENAME"
+>default.action</TT
+> file),
+    <TT
+CLASS="REPLACEABLE"
+><I
+>http_parent</I
+></TT
+> and <TT
+CLASS="REPLACEABLE"
+><I
+>socks_proxy</I
+></TT
+>
+    are IP addresses in dotted decimal notation or valid DNS names (<TT
+CLASS="REPLACEABLE"
+><I
+>http_parent</I
+></TT
+>
+    may be <SPAN
+CLASS="QUOTE"
+>"."</SPAN
+> to denote <SPAN
+CLASS="QUOTE"
+>"no HTTP forwarding"</SPAN
+>), and the optional 
+    <TT
+CLASS="REPLACEABLE"
+><I
+>port</I
+></TT
+> parameters are TCP ports, i.e. integer values from 1 to 64535
+   </P
+></DD
+><DT
+>Default value:</DT
+><DD
+><P
+><I
+CLASS="EMPHASIS"
+>Unset</I
+></P
+></DD
+><DT
+>Effect if unset:</DT
+><DD
+><P
+>    Don't use SOCKS proxies.
+   </P
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    Multiple lines are OK, they are checked in sequence, and the last match wins.
+   </P
+><P
+>    The difference between <TT
+CLASS="LITERAL"
+>forward-socks4</TT
+> and <TT
+CLASS="LITERAL"
+>forward-socks4a</TT
+>
+    is that in the SOCKS 4A protocol, the DNS resolution of the target hostname happens on the SOCKS
+    server, while in SOCKS 4 it happens locally.
+   </P
+><P
+>    If <TT
+CLASS="REPLACEABLE"
+><I
+>http_parent</I
+></TT
+> is <SPAN
+CLASS="QUOTE"
+>"."</SPAN
+>, then requests are not
+    forwarded to another HTTP proxy but are made (HTTP-wise) directly to the web servers, albeit through
+    a SOCKS proxy.
+   </P
+></DD
+><DT
+>Examples:</DT
+><DD
+><P
+>     From the company example.com, direct connections are made to all
+     <SPAN
+CLASS="QUOTE"
+>"internal"</SPAN
+> domains, but everything outbound goes through
+     their ISP's proxy by way of example.com's corporate SOCKS 4A gateway to
+     the Internet.
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  forward-socks4a   .*.            socks-gw.example.com:1080  www-cache.example-isp.net:8080
+  forward           .example.com   .</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+><P
+>    A rule that uses a SOCKS 4 gateway for all destinations but no HTTP parent looks like this:
+   </P
+><P
+>    <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  forward-socks4   .*.            socks-gw.example.com:1080  .</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
+NAME="ADVANCED-FORWARDING-EXAMPLES"
+>8.5.3. Advanced Forwarding Examples</A
+></H4
+><P
+> If you have links to multiple ISPs that provide various special content 
+ only to their subscribers, you can configure multiple <SPAN
+CLASS="APPLICATION"
+>Privoxies</SPAN
+>
+ which have connections to the respective ISPs to act as forwarders to each other, so that
+ <I
+CLASS="EMPHASIS"
+>your</I
+> 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
+ isp-b.net. Both run <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>. Their forwarding
+ configuration can look like this:</P
+><P
+> host-a:</P
+><P
+> <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  forward    .*.         .
+  forward    .isp-b.net  host-b:8118</PRE
+></TD
+></TR
+></TABLE
+></P
+><P
+> host-b:</P
+><P
+> <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  forward    .*.         .
+  forward    .isp-a.net  host-a:8118</PRE
+></TD
+></TR
+></TABLE
+></P
+><P
+> Now, your users can set their browser's proxy to use either
+ host-a or host-b and be able to browse the internal content
+ of both isp-a and isp-b.</P
+><P
+> If you intend to chain <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> and 
+ <SPAN
+CLASS="APPLICATION"
+>squid</SPAN
+> locally, then chain as 
+ <TT
+CLASS="LITERAL"
+>browser -&#62; squid -&#62; privoxy</TT
+> is the recommended way. </P
+><P
+> Assuming that <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> and <SPAN
+CLASS="APPLICATION"
+>squid</SPAN
+>
+ run on the same box, your squid configuration could then look like this:</P
+><P
+> <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  # Define Privoxy as parent proxy (without ICP) 
+  cache_peer 127.0.0.1 parent 8118 7 no-query 
+
+  # Define ACL for protocol FTP 
+  acl ftp proto FTP 
+
+  # Do not forward FTP requests to Privoxy
+  always_direct allow ftp 
+
+  # Forward all the rest to Privoxy
+  never_direct allow all</PRE
+></TD
+></TR
+></TABLE
+></P
+><P
+> You would then need to change your browser's proxy settings to <SPAN
+CLASS="APPLICATION"
+>squid</SPAN
+>'s address and port.
+ Squid normally uses port 3128. If unsure consult <TT
+CLASS="LITERAL"
+>http_port</TT
+> in <TT
+CLASS="FILENAME"
+>squid.conf</TT
+>.</P
+></DIV
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="WINDOWS-GUI"
+>8.6. Windows GUI Options</A
+></H2
+><P
+> <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> has a number of options specific to the
+ Windows GUI interface:</P
+><A
+NAME="ACTIVITY-ANIMATION"
+></A
+><P
+> If <SPAN
+CLASS="QUOTE"
+>"activity-animation"</SPAN
+> is set to 1, the
+ <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> icon will animate when
+ <SPAN
+CLASS="QUOTE"
+>"Privoxy"</SPAN
+> is active. To turn off, set to 0.</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>activity-animation   1</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="LOG-MESSAGES"
+></A
+><P
+> If <SPAN
+CLASS="QUOTE"
+>"log-messages"</SPAN
+> is set to 1,
+ <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> will log messages to the console
+ window:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>log-messages       1</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="LOG-BUFFER-SIZE"
+></A
+><P
+> 
+ If <SPAN
+CLASS="QUOTE"
+>"log-buffer-size"</SPAN
+> is set to 1, the size of the log buffer,
+ i.e. the amount of memory used for the log messages displayed in the
+ console window, will be limited to <SPAN
+CLASS="QUOTE"
+>"log-max-lines"</SPAN
+> (see below).</P
+><P
+> Warning: Setting this to 0 will result in the buffer to grow infinitely and
+ eat up all your memory!</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>log-buffer-size      1</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="LOG-MAX-LINES"
+></A
+><P
+> <SPAN
+CLASS="APPLICATION"
+>log-max-lines</SPAN
+> is the maximum number of lines held
+ in the log buffer. See above.</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>log-max-lines      200</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="LOG-HIGHLIGHT-MESSAGES"
+></A
+><P
+> If <SPAN
+CLASS="QUOTE"
+>"log-highlight-messages"</SPAN
+> is set to 1,
+ <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> will highlight portions of the log
+ messages with a bold-faced font:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>log-highlight-messages   1</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="LOG-FONT-NAME"
+></A
+><P
+> The font used in the console window:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>log-font-name        Comic Sans MS</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="LOG-FONT-SIZE"
+></A
+><P
+> Font size used in the console window:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>log-font-size        8</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="SHOW-ON-TASK-BAR"
+></A
+><P
+>  
+ <SPAN
+CLASS="QUOTE"
+>"show-on-task-bar"</SPAN
+> controls whether or not
+ <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> will appear as a button on the Task bar
+ when minimized:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>show-on-task-bar     0</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="CLOSE-BUTTON-MINIMIZES"
+></A
+><P
+> If <SPAN
+CLASS="QUOTE"
+>"close-button-minimizes"</SPAN
+> is set to 1, the Windows close
+ button will minimize <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> instead of closing
+ the program (close with the exit option on the File menu).</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;<I
+CLASS="EMPHASIS"
+>close-button-minimizes  1</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><A
+NAME="HIDE-CONSOLE"
+></A
+><P
+> The <SPAN
+CLASS="QUOTE"
+>"hide-console"</SPAN
+> option is specific to the MS-Win console
+ version of <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>. If this option is used,
+ <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> will disconnect from and hide  the
+ command console.</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;&nbsp;#<I
+CLASS="EMPHASIS"
+>hide-console</I
+><br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+></DIV
+></DIV
+><DIV
+CLASS="NAVFOOTER"
+><HR
+ALIGN="LEFT"
+WIDTH="100%"><TABLE
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+><A
+HREF="configuration.html"
+>Prev</A
+></TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+><A
+HREF="index.html"
+>Home</A
+></TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+><A
+HREF="actions-file.html"
+>Next</A
+></TD
+></TR
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+><SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> Configuration</TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+>&nbsp;</TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+>Actions Files</TD
+></TR
+></TABLE
+></DIV
+></BODY
+></HTML
+>
\ No newline at end of file
index 9fe64ac..7b77fcd 100644 (file)
@@ -13,9 +13,8 @@ REL="PREVIOUS"
 TITLE="Starting Privoxy"
 HREF="startup.html"><LINK
 REL="NEXT"
 TITLE="Starting Privoxy"
 HREF="startup.html"><LINK
 REL="NEXT"
-TITLE="Contacting the Developers, Bug Reporting and Feature
-Requests"
-HREF="contact.html"><LINK
+TITLE="The Main Configuration File"
+HREF="config.html"><LINK
 REL="STYLESHEET"
 TYPE="text/css"
 HREF="../p_doc.css"></HEAD
 REL="STYLESHEET"
 TYPE="text/css"
 HREF="../p_doc.css"></HEAD
@@ -58,7 +57,7 @@ WIDTH="10%"
 ALIGN="right"
 VALIGN="bottom"
 ><A
 ALIGN="right"
 VALIGN="bottom"
 ><A
-HREF="contact.html"
+HREF="config.html"
 >Next</A
 ></TD
 ></TR
 >Next</A
 ></TD
 ></TR
@@ -94,7 +93,7 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN320"
+NAME="AEN305"
 >7.1. Controlling <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >7.1. Controlling <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
@@ -259,7 +258,7 @@ CLASS="APPLICATION"
 ><LI
 ><P
 >     The main configuration file is named <A
 ><LI
 ><P
 >     The main configuration file is named <A
-HREF="configuration.html#CONFIG"
+HREF="config.html"
 >config</A
 >
      on Linux, Unix, BSD, OS/2, and AmigaOS and <TT
 >config</A
 >
      on Linux, Unix, BSD, OS/2, and AmigaOS and <TT
@@ -275,7 +274,7 @@ CLASS="FILENAME"
 CLASS="FILENAME"
 >default.action</TT
 > (the main <A
 CLASS="FILENAME"
 >default.action</TT
 > (the main <A
-HREF="configuration.html#ACTIONS-FILE"
+HREF="actions-file.html"
 >actions file</A
 >) is used to define
     the default settings for various <SPAN
 >actions file</A
 >) is used to define
     the default settings for various <SPAN
@@ -330,7 +329,7 @@ TARGET="_top"
 CLASS="FILENAME"
 >default.filter</TT
 > (the <A
 CLASS="FILENAME"
 >default.filter</TT
 > (the <A
-HREF="configuration.html#FILTER-FILE"
+HREF="filter-file.html"
 >filter
     file</A
 >) can be used to re-write the raw page content, including
 >filter
     file</A
 >) can be used to re-write the raw page content, including
@@ -406,5763 +405,6 @@ CLASS="QUOTE"
 > setting, may change, so 
  please check all your configuration files on important issues.</P
 ></DIV
 > setting, may change, so 
  please check all your configuration files on important issues.</P
 ></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="CONFIG"
->7.3. The Main Configuration File</A
-></H2
-><P
-> Again, the main configuration file is named <TT
-CLASS="FILENAME"
->config</TT
-> on
- Linux/Unix/BSD and OS/2, and <TT
-CLASS="FILENAME"
->config.txt</TT
-> on Windows.
- Configuration lines consist of an initial keyword followed by a list of
- values, all separated by whitespace (any number of spaces or tabs). For
- example:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->confdir /etc/privoxy</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
->
- </TT
-> </P
-><P
-> Assigns the value <TT
-CLASS="LITERAL"
->/etc/privoxy</TT
-> to the option
- <TT
-CLASS="LITERAL"
->confdir</TT
-> and thus indicates that the configuration
- directory is named <SPAN
-CLASS="QUOTE"
->"/etc/privoxy/"</SPAN
->.</P
-><P
-> All options in the config file except for <TT
-CLASS="LITERAL"
->confdir</TT
-> and
- <TT
-CLASS="LITERAL"
->logdir</TT
-> are optional. Watch out in the below description
- for what happens if you leave them unset.</P
-><P
-> The main config file controls all aspects of <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->'s
- operation that are not location dependent (i.e. they apply universally, no matter
- where you may be surfing).</P
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="CONF-LOG-LOC"
->7.3.1. Configuration and Log File Locations</A
-></H3
-><P
-> <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> can (and normally does) use a number of
- other files for additional configuration and logging.
- This section of the configuration file tells <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
- where to find those other files. </P
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="CONFDIR"
->7.3.1.1. confdir</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->The directory where the other configuration files are located</P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->Path name</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->/etc/privoxy (Unix) <I
-CLASS="EMPHASIS"
->or</I
-> <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> installation dir (Windows) </P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Mandatory</I
-></P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    No trailing <SPAN
-CLASS="QUOTE"
->"<TT
-CLASS="LITERAL"
->/</TT
->"</SPAN
->, please
-   </P
-><P
->    When development goes modular and multi-user, the blocker, filter, and
-    per-user config will be stored in subdirectories of <SPAN
-CLASS="QUOTE"
->"confdir"</SPAN
->.
-    For now, the configuration directory structure is flat, except for 
-    <TT
-CLASS="FILENAME"
->confdir/templates</TT
->, where the HTML templates for CGI 
-    output reside (e.g. <SPAN
-CLASS="APPLICATION"
->Privoxy's</SPAN
-> 404 error page). 
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="LOGDIR"
->7.3.1.2. logdir</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    The directory where all logging takes place (i.e. where <TT
-CLASS="FILENAME"
->logfile</TT
-> and 
-    <TT
-CLASS="FILENAME"
->jarfile</TT
-> are located) 
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->Path name</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->/var/log/privoxy (Unix) <I
-CLASS="EMPHASIS"
->or</I
-> <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> installation dir (Windows) </P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Mandatory</I
-></P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    No trailing <SPAN
-CLASS="QUOTE"
->"<TT
-CLASS="LITERAL"
->/</TT
->"</SPAN
->, please
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="ACTIONSFILE"
->7.3.1.3. <A
-NAME="DEFAULT.ACTION"
-></A
->
-<A
-NAME="STANDARD.ACTION"
-></A
->
-<A
-NAME="USER.ACTION"
-></A
->
-actionsfile</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    The <A
-HREF="configuration.html#ACTIONS"
->actions</A
-> file(s) to use
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->File name, relative to <TT
-CLASS="LITERAL"
->confdir</TT
-></P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->     <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;standard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Internal&nbsp;purposes,&nbsp;recommended&nbsp;not&nbsp;editing</P
->
-    </TD
-></TR
-><TR
-><TD
->     <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Main&nbsp;actions&nbsp;file</P
->
-    </TD
-></TR
-><TR
-><TD
->     <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;User&nbsp;customizations</P
->
-    </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    No actions are taken at all. Simple neutral proxying. 
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    Multiple <TT
-CLASS="LITERAL"
->actionsfile</TT
-> lines are OK and are in fact recommended!
-   </P
-><P
-> 
-    The default values include standard.action, which is used for internal
-    purposes and should be loaded, default.action, which is the
-    <SPAN
-CLASS="QUOTE"
->"main"</SPAN
-> actions file maintained by the developers, and
-    <TT
-CLASS="FILENAME"
->user.action</TT
->, where you can make your personal additions.
-   </P
-><P
-> 
-    There is no point in using <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> without an actions file.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="FILTERFILE"
->7.3.1.4. <A
-NAME="DEFAULT.FILTER"
-></A
->filterfile</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    The <A
-HREF="configuration.html#FILTER"
->filter</A
-> file to use
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->File name, relative to <TT
-CLASS="LITERAL"
->confdir</TT
-></P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->default.filter (Unix) <I
-CLASS="EMPHASIS"
->or</I
-> default.filter.txt (Windows)</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    No textual content filtering takes place, i.e. all
-    <TT
-CLASS="LITERAL"
->+filter{<TT
-CLASS="REPLACEABLE"
-><I
->name</I
-></TT
->}</TT
->
-    actions in the actions files are turned off
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    The <SPAN
-CLASS="QUOTE"
->"default.filter"</SPAN
-> file contains content modification rules 
-    that use <SPAN
-CLASS="QUOTE"
->"regular expressions"</SPAN
->. 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
-CLASS="QUOTE"
->"Microsoft"</SPAN
-> with <SPAN
-CLASS="QUOTE"
->"MicroSuck"</SPAN
-> wherever
-    it appears on a Web page.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="LOGFILE"
->7.3.1.5. logfile</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    The log file to use
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->File name, relative to <TT
-CLASS="LITERAL"
->logdir</TT
-></P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->logfile (Unix) <I
-CLASS="EMPHASIS"
->or</I
-> privoxy.log (Windows)</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    No log file is used, all log messages go to the console (<TT
-CLASS="LITERAL"
->stderr</TT
->).
-   </P
-></DD
-><DT
->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"
->debug</TT
->
-    option (see below). The logfile can be useful for tracking down a problem with
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> (e.g., it's not blocking an ad you
-    think it should block) but in most cases you probably will never look at it.
-   </P
-><P
->    Your logfile will grow indefinitely, and you will probably want to
-    periodically remove it.  On Unix systems, you can do this with a cron job
-    (see <SPAN
-CLASS="QUOTE"
->"man cron"</SPAN
->). For Red Hat, a <B
-CLASS="COMMAND"
->logrotate</B
-> 
-    script has been included.
-   </P
-><P
->    On SuSE Linux systems, you can place a line like <SPAN
-CLASS="QUOTE"
->"/var/log/privoxy.*
-    +1024k 644 nobody.nogroup"</SPAN
-> in <TT
-CLASS="FILENAME"
->/etc/logfiles</TT
->, with
-    the effect that cron.daily will automatically archive, gzip, and empty the
-    log, when it exceeds 1M size.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="JARFILE"
->7.3.1.6. jarfile</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    The file to store intercepted cookies in
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->File name, relative to <TT
-CLASS="LITERAL"
->logdir</TT
-></P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->jarfile (Unix) <I
-CLASS="EMPHASIS"
->or</I
-> privoxy.jar (Windows)</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Intercepted cookies are not stored at all.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    The jarfile may grow to ridiculous sizes over time.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="TRUSTFILE"
->7.3.1.7. trustfile</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    The trust file to use
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->File name, relative to <TT
-CLASS="LITERAL"
->confdir</TT
-></P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Unset (commented out)</I
->. When activated: trust (Unix) <I
-CLASS="EMPHASIS"
->or</I
-> trust.txt (Windows)</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    The whole trust mechanism is turned off.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    The trust mechanism is an experimental feature for building white-lists and should
-    be used with care. It is <I
-CLASS="EMPHASIS"
->NOT</I
-> recommended for the casual user.
-   </P
-><P
->    If you specify a trust file, <SPAN
-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
-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
-CLASS="QUOTE"
->"trustfile"</SPAN
->.
-    Possible applications include limiting Internet access for children.
-   </P
-><P
->    If you use <TT
-CLASS="LITERAL"
->+</TT
-> operator in the trust file, it may grow considerably over time.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="LOCAL-SET-UP"
->7.3.2. Local Set-up Documentation</A
-></H3
-><P
->    If you intend to operate <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> for more users
-    that just yourself, it might be a good idea to let them know how to reach
-    you, what you block and why you do that, your policies etc.
-   </P
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="TRUST-INFO-URL"
->7.3.2.1. trust-info-url</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    A URL to be displayed in the error page that users will see if access to an untrusted page is denied.    
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->URL</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->Two example URL are provided</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    No links are displayed on the "untrusted" error page.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    The value of this option only matters if the experimental trust mechanism has been
-    activated. (See <TT
-CLASS="LITERAL"
->trustfile</TT
-> above.)
-   </P
-><P
->    If you use the trust mechanism, it is a good idea to write up some on-line
-    documentation about your trust policy and to specify the URL(s) here.
-    Use multiple times for multiple URLs.
-   </P
-><P
->    The URL(s) should be added to the trustfile as well, so users don't end up
-    locked out from the information on why they were locked out in the first place!
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="ADMIN-ADDRESS"
->7.3.2.2. admin-address</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    An email address to reach the proxy administrator.
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->Email address</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Unset</I
-></P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    No email address is displayed on error pages and the CGI user interface.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    If both <TT
-CLASS="LITERAL"
->admin-address</TT
-> and <TT
-CLASS="LITERAL"
->proxy-info-url</TT
->
-    are unset, the whole "Local Privoxy Support" box on all generated pages will
-    not be shown.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="PROXY-INFO-URL"
->7.3.2.3. proxy-info-url</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    A URL to documentation about the local <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> setup,
-    configuration or policies.
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->URL</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Unset</I
-></P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    No link to local documentation is displayed on error pages and the CGI user interface.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    If both <TT
-CLASS="LITERAL"
->admin-address</TT
-> and <TT
-CLASS="LITERAL"
->proxy-info-url</TT
->
-    are unset, the whole "Local Privoxy Support" box on all generated pages will
-    not be shown.
-   </P
-><P
->    This URL shouldn't be blocked ;-)
-   </P
-></DD
-></DL
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="DEBUGGING"
->7.3.3. Debugging</A
-></H3
-><P
->  These options are mainly useful when tracing a problem.
-  Note that you might also want to invoke
-  <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> with the <TT
-CLASS="LITERAL"
->--no-daemon</TT
->
-  command line option when debugging.
- </P
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="DEBUG"
->7.3.3.1. debug</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    Key values that determine what information gets logged.
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->Integer values</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->12289 (i.e.: URLs plus informational and warning messages)</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Nothing gets logged.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    The available debug levels are:
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->  debug         1 # show each GET/POST/CONNECT request
-  debug         2 # show each connection status
-  debug         4 # show I/O status
-  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       128 # debug fast redirects
-  debug       256 # debug GIF de-animation
-  debug       512 # Common Log Format
-  debug      1024 # debug kill pop-ups
-  debug      4096 # Startup banner and warnings.
-  debug      8192 # Non-fatal errors</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-><P
->    To select multiple debug levels, you can either add them or use
-    multiple <TT
-CLASS="LITERAL"
->debug</TT
-> lines.
-   </P
-><P
->    A debug level of 1 is informative because it will show you each request
-    as it happens. <I
-CLASS="EMPHASIS"
->1, 4096 and 8192 are highly recommended</I
->
-    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
-    a hell of an output (especially 16).
-    
-   </P
-><P
->    The reporting of <I
-CLASS="EMPHASIS"
->fatal</I
-> errors (i.e. ones which crash 
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->) is always on and cannot be disabled.
-   </P
-><P
->    If you want to use CLF (Common Log Format), you should set <SPAN
-CLASS="QUOTE"
->"debug
-    512"</SPAN
-> <I
-CLASS="EMPHASIS"
->ONLY</I
-> and not enable anything else.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="SINGLE-THREADED"
->7.3.3.2. single-threaded</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    Whether to run only one server thread
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->None</I
-></P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Unset</I
-></P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Multi-threaded (or, where unavailable: forked) operation, i.e. the ability to
-    serve multiple requests simultaneously.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    This option is only there for debug purposes and you should never
-    need to use it. <I
-CLASS="EMPHASIS"
->It will drastically reduce performance.</I
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="ACCESS-CONTROL"
->7.3.4. Access Control and Security</A
-></H3
-><P
->  This section of the config file controls the security-relevant aspects
-  of <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->'s configuration.
- </P
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="LISTEN-ADDRESS"
->7.3.4.1. listen-address</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    The IP address and TCP port on which <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> will
-    listen for client requests.
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->[<TT
-CLASS="REPLACEABLE"
-><I
->IP-Address</I
-></TT
->]:<TT
-CLASS="REPLACEABLE"
-><I
->Port</I
-></TT
-></P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->localhost:8118</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Bind to localhost (127.0.0.1), port 8118. This is suitable and recommended for
-    home users who run <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> on the same machine as
-    their browser.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    You will need to configure your browser(s) to this proxy address and port.
-   </P
-><P
->    If you already have another service running on port 8118, or if you want to
-    serve requests from other machines (e.g. on your local network) as well, you
-    will need to override the default.
-   </P
-><P
->    If you leave out the IP address, <SPAN
-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.
-   </P
-></DD
-><DT
->Example:</DT
-><DD
-><P
->     Suppose you are running <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> on
-     a machine which has the address 192.168.0.1 on your local private network
-     (192.168.0.0) and has another outside connection with a different address.
-     You want it to serve requests from inside only:
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->  listen-address  192.168.0.1:8118</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="TOGGLE"
->7.3.4.2. toggle</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    Initial state of "toggle" status
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->1 or 0</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->1</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Act as if toggled on
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    If set to 0, <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> will start in
-    <SPAN
-CLASS="QUOTE"
->"toggled off"</SPAN
-> mode, i.e. behave like a normal, content-neutral
-    proxy. See <TT
-CLASS="LITERAL"
->enable-remote-toggle</TT
->
-    below. This is not really useful anymore, since toggling is much easier
-    via <A
-HREF="http://config.privoxy.org/toggle"
-TARGET="_top"
->the web
-    interface</A
-> then via editing the <TT
-CLASS="FILENAME"
->conf</TT
-> file.
-   </P
-><P
->    The windows version will only display the toggle icon in the system tray
-    if this option is present.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="ENABLE-REMOTE-TOGGLE"
->7.3.4.3. enable-remote-toggle</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    Whether or not the <A
-HREF="http://config.privoxy.org/toggle"
-TARGET="_top"
->web-based toggle
-    feature</A
-> may be used
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->0 or 1</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->1</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    The web-based toggle feature is disabled.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    When toggled off, <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> acts like a normal,
-    content-neutral proxy, i.e. it acts as if none of the actions applied to
-    any URL.
-   </P
-><P
->    For the time being, access to the toggle feature can <I
-CLASS="EMPHASIS"
->not</I
-> be
-    controlled separately by <SPAN
-CLASS="QUOTE"
->"ACLs"</SPAN
-> or HTTP authentication,
-    so that everybody who can access <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> (see
-    <SPAN
-CLASS="QUOTE"
->"ACLs"</SPAN
-> and <TT
-CLASS="LITERAL"
->listen-address</TT
-> above) can
-    toggle it for all users. So this option is <I
-CLASS="EMPHASIS"
->not recommended</I
->
-    for multi-user environments with untrusted users.
-   </P
-><P
->    Note that you must have compiled <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> with
-    support for this feature, otherwise this option has no effect. 
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="ENABLE-EDIT-ACTIONS"
->7.3.4.4. enable-edit-actions</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    Whether or not the <A
-HREF="http://config.privoxy.org/show-status"
-TARGET="_top"
->web-based actions
-    file editor</A
-> may be used
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->0 or 1</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->1</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    The web-based actions file editor is disabled.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    For the time being, access to the editor can <I
-CLASS="EMPHASIS"
->not</I
-> be
-    controlled separately by <SPAN
-CLASS="QUOTE"
->"ACLs"</SPAN
-> or HTTP authentication,
-    so that everybody who can access <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> (see
-    <SPAN
-CLASS="QUOTE"
->"ACLs"</SPAN
-> and <TT
-CLASS="LITERAL"
->listen-address</TT
-> above) can
-    modify its configuration for all users. So this option is <I
-CLASS="EMPHASIS"
->not
-    recommended</I
-> for multi-user environments with untrusted users.
-   </P
-><P
->    Note that you must have compiled <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> with
-    support for this feature, otherwise this option has no effect. 
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="ACLS"
->7.3.4.5. <A
-NAME="PERMIT-ACCES"
-></A
->
-<A
-NAME="DENY-ACCES"
-></A
->
-ACLs: permit-access and deny-access</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    Who can access what.
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->    <TT
-CLASS="REPLACEABLE"
-><I
->src_addr</I
-></TT
->[/<TT
-CLASS="REPLACEABLE"
-><I
->src_masklen</I
-></TT
->]
-    [<TT
-CLASS="REPLACEABLE"
-><I
->dst_addr</I
-></TT
->[/<TT
-CLASS="REPLACEABLE"
-><I
->dst_masklen</I
-></TT
->]]
-   </P
-><P
->    Where <TT
-CLASS="REPLACEABLE"
-><I
->src_addr</I
-></TT
-> and 
-   <TT
-CLASS="REPLACEABLE"
-><I
->dst_addr</I
-></TT
-> are IP addresses in dotted decimal notation or valid
-    DNS names, and <TT
-CLASS="REPLACEABLE"
-><I
->src_masklen</I
-></TT
-> and
-    <TT
-CLASS="REPLACEABLE"
-><I
->dst_masklen</I
-></TT
-> are subnet masks in CIDR notation, i.e. integer
-    values from 2 to 30 representing the length (in bits) of the network address. The masks and the whole
-    destination part are optional.
-   </P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Unset</I
-></P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Don't restrict access further than implied by <TT
-CLASS="LITERAL"
->listen-address</TT
->
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    Access controls are included at the request of ISPs and systems
-    administrators, and <I
-CLASS="EMPHASIS"
->are not usually needed by individual users</I
->.
-    For a typical home user, it will normally suffice to ensure that 
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> only listens on the localhost or internal (home)
-    network address by means of the <TT
-CLASS="LITERAL"
->listen-address</TT
-> option.
-   </P
-><P
->    Please see the warnings in the FAQ that this proxy is not intended to be a substitute
-    for a firewall or to encourage anyone to defer addressing basic security
-    weaknesses.
-   </P
-><P
->    Multiple ACL lines are OK.
-    If any ACLs are specified, then the <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
-    talks only to IP addresses that match at least one <TT
-CLASS="LITERAL"
->permit-access</TT
-> line
-    and don't match any subsequent <TT
-CLASS="LITERAL"
->deny-access</TT
-> line. In other words, the
-    last match wins, with the default being <TT
-CLASS="LITERAL"
->deny-access</TT
->.
-   </P
-><P
->    If <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> is using a forwarder (see <TT
-CLASS="LITERAL"
->forward</TT
-> below)
-    for a particular destination URL, the <TT
-CLASS="REPLACEABLE"
-><I
->dst_addr</I
-></TT
->
-    that is examined is the address of the forwarder and <I
-CLASS="EMPHASIS"
->NOT</I
-> the address
-    of the ultimate target. This is necessary because it may be impossible for the local
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> to determine the IP address of the
-    ultimate target (that's often what gateways are used for).
-   </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
-CLASS="EMPHASIS"
->not</I
-> use domain patterns
-    like <SPAN
-CLASS="QUOTE"
->"*.org"</SPAN
-> or partial domain names. If a DNS name resolves to multiple
-    IP addresses, only the first one is used.
-   </P
-><P
->    Denying access to particular sites by ACL may have undesired side effects
-    if the site in question is hosted on a machine which also hosts other sites.
-   </P
-></DD
-><DT
->Examples:</DT
-><DD
-><P
->    Explicitly define the default behavior if no ACL and
-    <TT
-CLASS="LITERAL"
->listen-address</TT
-> are set: <SPAN
-CLASS="QUOTE"
->"localhost"</SPAN
->
-    is OK. The absence of a <TT
-CLASS="REPLACEABLE"
-><I
->dst_addr</I
-></TT
-> implies that
-    <I
-CLASS="EMPHASIS"
->all</I
-> destination addresses are OK:
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  permit-access  localhost</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-><P
->    Allow any host on the same class C subnet as www.privoxy.org access to
-    nothing but www.example.com:
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  permit-access  www.privoxy.org/24 www.example.com/32</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-><P
->    Allow access from any host on the 26-bit subnet 192.168.45.64 to anywhere,
-    with the exception that 192.168.45.73 may not access www.dirty-stuff.example.com:
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  permit-access  192.168.45.64/26
-  deny-access    192.168.45.73    www.dirty-stuff.example.com</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="BUFFER-LIMIT"
->7.3.4.6. buffer-limit</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    Maximum size of the buffer for content filtering.
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->Size in Kbytes</P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
->4096</P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Use a 4MB (4096 KB) limit.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    For content filtering, i.e. the <TT
-CLASS="LITERAL"
->+filter</TT
-> and
-    <TT
-CLASS="LITERAL"
->+deanimate-gif</TT
-> actions, it is necessary that 
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> buffers the entire document body.
-    This can be potentially dangerous, since a server could just keep sending
-    data indefinitely and wait for your RAM to exhaust -- with nasty consequences.
-    Hence this option.
-   </P
-><P
->    When a document buffer size reaches the <TT
-CLASS="LITERAL"
->buffer-limit</TT
->, it is
-    flushed to the client unfiltered and no further attempt to
-    filter the rest of the document is made. Remember that there may be multiple threads
-    running, which might require up to <TT
-CLASS="LITERAL"
->buffer-limit</TT
-> Kbytes
-    <I
-CLASS="EMPHASIS"
->each</I
->, unless you have enabled <SPAN
-CLASS="QUOTE"
->"single-threaded"</SPAN
->
-    above.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="FORWARDING"
->7.3.5. Forwarding</A
-></H3
-><P
-> This feature allows routing of HTTP requests through a chain of
- multiple proxies.
- It can be used to better protect privacy and confidentiality when
- accessing specific domains by routing requests to those domains
- through an anonymous public proxy (see e.g. <A
-HREF="http://www.multiproxy.org/anon_list.htm"
-TARGET="_top"
->http://www.multiproxy.org/anon_list.htm</A
->)
- Or to use a caching proxy to speed up browsing. Or chaining to a parent
- proxy may be necessary because the machine that <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
- runs on has no direct Internet access.</P
-><P
-> Also specified here are SOCKS proxies. <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
- supports the SOCKS 4 and SOCKS 4A protocols.</P
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="FORWARD"
->7.3.5.1. forward</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    To which parent HTTP proxy specific requests should be routed.
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->    <TT
-CLASS="REPLACEABLE"
-><I
->target_domain</I
-></TT
->[:<TT
-CLASS="REPLACEABLE"
-><I
->port</I
-></TT
->]
-    <TT
-CLASS="REPLACEABLE"
-><I
->http_parent</I
-></TT
->[/<TT
-CLASS="REPLACEABLE"
-><I
->port</I
-></TT
->]
-   </P
-><P
->    Where <TT
-CLASS="REPLACEABLE"
-><I
->target_domain</I
-></TT
-> is a domain name pattern (see the
-    chapter on domain matching in the <TT
-CLASS="FILENAME"
->default.action</TT
-> file),
-    <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
-CLASS="REPLACEABLE"
-><I
->port</I
-></TT
-> parameters are TCP ports, i.e. integer
-    values from 1 to 64535
-   </P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Unset</I
-></P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Don't use parent HTTP proxies.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    If <TT
-CLASS="REPLACEABLE"
-><I
->http_parent</I
-></TT
-> is <SPAN
-CLASS="QUOTE"
->"."</SPAN
->, then requests are not
-    forwarded to another HTTP proxy but are made directly to the web servers.
-   </P
-><P
->    Multiple lines are OK, they are checked in sequence, and the last match wins.
-   </P
-></DD
-><DT
->Examples:</DT
-><DD
-><P
->    Everything goes to an example anonymizing proxy, except SSL on port 443 (which it doesn't handle):
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  forward   .*     anon-proxy.example.org:8080
-  forward   :443   .</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-><P
->    Everything goes to our example ISP's caching proxy, except for requests
-    to that ISP's sites:
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  forward   .*.                caching-proxy.example-isp.net:8000
-  forward   .example-isp.net   .</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="SOCKS"
->7.3.5.2. <A
-NAME="FORWARD-SOCKS4"
-></A
->
-<A
-NAME="FORWARD-SOCKS4A"
-></A
->
-forward-socks4 and forward-socks4a</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Specifies:</DT
-><DD
-><P
->    Through which SOCKS proxy (and to which parent HTTP proxy) specific requests should be routed.
-   </P
-></DD
-><DT
->Type of value:</DT
-><DD
-><P
->    <TT
-CLASS="REPLACEABLE"
-><I
->target_domain</I
-></TT
->[:<TT
-CLASS="REPLACEABLE"
-><I
->port</I
-></TT
->]
-    <TT
-CLASS="REPLACEABLE"
-><I
->socks_proxy</I
-></TT
->[/<TT
-CLASS="REPLACEABLE"
-><I
->port</I
-></TT
->]
-    <TT
-CLASS="REPLACEABLE"
-><I
->http_parent</I
-></TT
->[/<TT
-CLASS="REPLACEABLE"
-><I
->port</I
-></TT
->]
-   </P
-><P
->    Where <TT
-CLASS="REPLACEABLE"
-><I
->target_domain</I
-></TT
-> is a domain name pattern (see the
-    chapter on domain matching in the <TT
-CLASS="FILENAME"
->default.action</TT
-> file),
-    <TT
-CLASS="REPLACEABLE"
-><I
->http_parent</I
-></TT
-> and <TT
-CLASS="REPLACEABLE"
-><I
->socks_proxy</I
-></TT
->
-    are IP addresses in dotted decimal notation or valid DNS names (<TT
-CLASS="REPLACEABLE"
-><I
->http_parent</I
-></TT
->
-    may be <SPAN
-CLASS="QUOTE"
->"."</SPAN
-> to denote <SPAN
-CLASS="QUOTE"
->"no HTTP forwarding"</SPAN
->), and the optional 
-    <TT
-CLASS="REPLACEABLE"
-><I
->port</I
-></TT
-> parameters are TCP ports, i.e. integer values from 1 to 64535
-   </P
-></DD
-><DT
->Default value:</DT
-><DD
-><P
-><I
-CLASS="EMPHASIS"
->Unset</I
-></P
-></DD
-><DT
->Effect if unset:</DT
-><DD
-><P
->    Don't use SOCKS proxies.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    Multiple lines are OK, they are checked in sequence, and the last match wins.
-   </P
-><P
->    The difference between <TT
-CLASS="LITERAL"
->forward-socks4</TT
-> and <TT
-CLASS="LITERAL"
->forward-socks4a</TT
->
-    is that in the SOCKS 4A protocol, the DNS resolution of the target hostname happens on the SOCKS
-    server, while in SOCKS 4 it happens locally.
-   </P
-><P
->    If <TT
-CLASS="REPLACEABLE"
-><I
->http_parent</I
-></TT
-> is <SPAN
-CLASS="QUOTE"
->"."</SPAN
->, then requests are not
-    forwarded to another HTTP proxy but are made (HTTP-wise) directly to the web servers, albeit through
-    a SOCKS proxy.
-   </P
-></DD
-><DT
->Examples:</DT
-><DD
-><P
->     From the company example.com, direct connections are made to all
-     <SPAN
-CLASS="QUOTE"
->"internal"</SPAN
-> domains, but everything outbound goes through
-     their ISP's proxy by way of example.com's corporate SOCKS 4A gateway to
-     the Internet.
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  forward-socks4a   .*.            socks-gw.example.com:1080  www-cache.example-isp.net:8080
-  forward           .example.com   .</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-><P
->    A rule that uses a SOCKS 4 gateway for all destinations but no HTTP parent looks like this:
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  forward-socks4   .*.            socks-gw.example.com:1080  .</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="ADVANCED-FORWARDING-EXAMPLES"
->7.3.5.3. Advanced Forwarding Examples</A
-></H4
-><P
-> If you have links to multiple ISPs that provide various special content 
- only to their subscribers, you can configure multiple <SPAN
-CLASS="APPLICATION"
->Privoxies</SPAN
->
- which have connections to the respective ISPs to act as forwarders to each other, so that
- <I
-CLASS="EMPHASIS"
->your</I
-> 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
- isp-b.net. Both run <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->. Their forwarding
- configuration can look like this:</P
-><P
-> host-a:</P
-><P
-> <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  forward    .*.         .
-  forward    .isp-b.net  host-b:8118</PRE
-></TD
-></TR
-></TABLE
-></P
-><P
-> host-b:</P
-><P
-> <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  forward    .*.         .
-  forward    .isp-a.net  host-a:8118</PRE
-></TD
-></TR
-></TABLE
-></P
-><P
-> Now, your users can set their browser's proxy to use either
- host-a or host-b and be able to browse the internal content
- of both isp-a and isp-b.</P
-><P
-> If you intend to chain <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> and 
- <SPAN
-CLASS="APPLICATION"
->squid</SPAN
-> locally, then chain as 
- <TT
-CLASS="LITERAL"
->browser -&#62; squid -&#62; privoxy</TT
-> is the recommended way. </P
-><P
-> Assuming that <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> and <SPAN
-CLASS="APPLICATION"
->squid</SPAN
->
- run on the same box, your squid configuration could then look like this:</P
-><P
-> <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  # Define Privoxy as parent proxy (without ICP) 
-  cache_peer 127.0.0.1 parent 8118 7 no-query 
-
-  # Define ACL for protocol FTP 
-  acl ftp proto FTP 
-
-  # Do not forward FTP requests to Privoxy
-  always_direct allow ftp 
-
-  # Forward all the rest to Privoxy
-  never_direct allow all</PRE
-></TD
-></TR
-></TABLE
-></P
-><P
-> You would then need to change your browser's proxy settings to <SPAN
-CLASS="APPLICATION"
->squid</SPAN
->'s address and port.
- Squid normally uses port 3128. If unsure consult <TT
-CLASS="LITERAL"
->http_port</TT
-> in <TT
-CLASS="FILENAME"
->squid.conf</TT
->.</P
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="WINDOWS-GUI"
->7.3.6. Windows GUI Options</A
-></H3
-><P
-> <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> has a number of options specific to the
- Windows GUI interface:</P
-><A
-NAME="ACTIVITY-ANIMATION"
-></A
-><P
-> If <SPAN
-CLASS="QUOTE"
->"activity-animation"</SPAN
-> is set to 1, the
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> icon will animate when
- <SPAN
-CLASS="QUOTE"
->"Privoxy"</SPAN
-> is active. To turn off, set to 0.</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->activity-animation   1</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="LOG-MESSAGES"
-></A
-><P
-> If <SPAN
-CLASS="QUOTE"
->"log-messages"</SPAN
-> is set to 1,
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> will log messages to the console
- window:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->log-messages       1</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="LOG-BUFFER-SIZE"
-></A
-><P
-> 
- If <SPAN
-CLASS="QUOTE"
->"log-buffer-size"</SPAN
-> is set to 1, the size of the log buffer,
- i.e. the amount of memory used for the log messages displayed in the
- console window, will be limited to <SPAN
-CLASS="QUOTE"
->"log-max-lines"</SPAN
-> (see below).</P
-><P
-> Warning: Setting this to 0 will result in the buffer to grow infinitely and
- eat up all your memory!</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->log-buffer-size      1</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="LOG-MAX-LINES"
-></A
-><P
-> <SPAN
-CLASS="APPLICATION"
->log-max-lines</SPAN
-> is the maximum number of lines held
- in the log buffer. See above.</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->log-max-lines      200</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="LOG-HIGHLIGHT-MESSAGES"
-></A
-><P
-> If <SPAN
-CLASS="QUOTE"
->"log-highlight-messages"</SPAN
-> is set to 1,
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> will highlight portions of the log
- messages with a bold-faced font:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->log-highlight-messages   1</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="LOG-FONT-NAME"
-></A
-><P
-> The font used in the console window:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->log-font-name        Comic Sans MS</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="LOG-FONT-SIZE"
-></A
-><P
-> Font size used in the console window:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->log-font-size        8</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="SHOW-ON-TASK-BAR"
-></A
-><P
->  
- <SPAN
-CLASS="QUOTE"
->"show-on-task-bar"</SPAN
-> controls whether or not
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> will appear as a button on the Task bar
- when minimized:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->show-on-task-bar     0</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="CLOSE-BUTTON-MINIMIZES"
-></A
-><P
-> If <SPAN
-CLASS="QUOTE"
->"close-button-minimizes"</SPAN
-> is set to 1, the Windows close
- button will minimize <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> instead of closing
- the program (close with the exit option on the File menu).</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->close-button-minimizes  1</I
-><br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><A
-NAME="HIDE-CONSOLE"
-></A
-><P
-> The <SPAN
-CLASS="QUOTE"
->"hide-console"</SPAN
-> option is specific to the MS-Win console
- version of <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->. If this option is used,
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> will disconnect from and hide  the
- command console.</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;#hide-console<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="ACTIONS-FILE"
->7.4. Actions Files</A
-></H2
-><P
-> The actions files are used to define what actions
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> takes for which URLs, and thus determines
- how ad images, cookies and various other aspects of HTTP content and
- transactions are handled, and on which sites (or even parts thereof). There 
- are three such files included with <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->, 
- with slightly different purposes. <TT
-CLASS="FILENAME"
->default.action</TT
-> sets
- the default policies. <TT
-CLASS="FILENAME"
->standard.action</TT
-> is used by 
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> and the web based editor to set 
- pre-defined values (and normally should not be edited). Local exceptions 
- are best done in <TT
-CLASS="FILENAME"
->user.action</TT
->. The content of these 
- can all be viewed and edited from <A
-HREF="http://config.privoxy.org/show-status"
-TARGET="_top"
->http://config.privoxy.org/show-status</A
->.
- </P
-><P
-> 
- Anything you want can blocked, including ads, banners, or just some obnoxious
- URL that you would rather not see is done here. Cookies can be accepted or rejected, or
- accepted only during the current browser session (i.e. not written to disk),
- content can be modified, JavaScripts tamed, user-tracking fooled, and much more.
- See below for a complete list of available actions.</P
-><P
-> An actions file typically has sections. Near the top, <SPAN
-CLASS="QUOTE"
->"aliases"</SPAN
-> are 
- optionally defined (discussed <A
-HREF="configuration.html#ALIASES"
-TARGET="_top"
->below</A
->), then the default set of rules
- which will apply universally to all sites and pages. And then below that,
- exceptions to the defined universal policies. </P
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="AEN1285"
->7.4.1. Finding the Right Mix</A
-></H3
-><P
-> Note that some <A
-HREF="configuration.html#ACTIONS"
->actions</A
-> like cookie suppression
- or script disabling may render some sites unusable, which rely on these
- techniques to work properly. Finding the right mix of actions is not easy and
- certainly a matter of personal taste. In general, it can be said that the more
- <SPAN
-CLASS="QUOTE"
->"aggressive"</SPAN
-> your default settings (in the top section of the
- actions file) are, the more exceptions for <SPAN
-CLASS="QUOTE"
->"trusted"</SPAN
-> sites you
- will have to make later. If, for example, you want to kill popup windows per
- default, you'll have to make exceptions from that rule for sites that you
- regularly use and that require popups for actually useful content, like maybe
- your bank, favorite shop, or newspaper.</P
-><P
-> We have tried to provide you with reasonable rules to start from in the
- distribution actions files. But there is no general rule of thumb on these
- things. There just are too many variables, and sites are constantly changing.
- Sooner or later you will want to change the rules (and read this chapter again :).</P
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="AEN1292"
->7.4.2. How to Edit</A
-></H3
-><P
-> The easiest way to edit the <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
-> files is with a browser by
- using our browser-based editor, which can be reached from <A
-HREF="http://config.privoxy.org/show-status"
-TARGET="_top"
->http://config.privoxy.org/show-status</A
->.</P
-><P
-> If you prefer plain text editing to GUIs, you can of course also directly edit the
- the actions files.</P
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="AEN1298"
->7.4.3. How Actions are Applied to URLs</A
-></H3
-><P
-> Actions files are divided into sections. There are special sections,
- like the <SPAN
-CLASS="QUOTE"
->"<A
-HREF="configuration.html#ALIASES"
->alias</A
->"</SPAN
-> sections which will be discussed later. For now
- let's concentrate on regular sections: They have a heading line (often split
- up to multiple lines for readability) which consist of a list of actions,
- separated by whitespace and enclosed in curly braces. Below that, there
- is a list of URL patterns, each on a separate line.</P
-><P
-> To determine which actions apply to a request, the URL of the request is
- compared to all patterns in this file. Every time it matches, the list of
- applicable actions for the URL is incrementally updated, using the heading
- of the section in which the pattern is located. If multiple matches for
- the same URL set the same action differently, the last match wins. If not, 
- the effects are aggregated (e.g. a URL might match both the 
- <A
-HREF="configuration.html#HANDLE-AS-IMAGE"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+handle-as-image"</SPAN
-></A
->
- and <A
-HREF="configuration.html#BLOCK"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+block"</SPAN
-></A
-> actions).
- </P
-><P
-> You can trace this process by visiting <A
-HREF="http://config.privoxy.org/show-url-info"
-TARGET="_top"
->http://config.privoxy.org/show-url-info</A
->.</P
-><P
-> More detail on this is provided in the Appendix, <A
-HREF="appendix.html#ACTIONSANAT"
-> Anatomy of an Action</A
->.</P
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="AEN1312"
->7.4.4. Patterns</A
-></H3
-><P
-> Generally, a pattern has the form <TT
-CLASS="LITERAL"
->&#60;domain&#62;/&#60;path&#62;</TT
->,
- where both the <TT
-CLASS="LITERAL"
->&#60;domain&#62;</TT
-> and <TT
-CLASS="LITERAL"
->&#60;path&#62;</TT
->
- are optional. (This is why the pattern <TT
-CLASS="LITERAL"
->/</TT
-> matches all URLs).</P
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->www.example.com/</TT
-></DT
-><DD
-><P
->    is a domain-only pattern and will match any request to <TT
-CLASS="LITERAL"
->www.example.com</TT
->,
-    regardless of which document on that server is requested.
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->www.example.com</TT
-></DT
-><DD
-><P
->    means exactly the same. For domain-only patterns, the trailing <TT
-CLASS="LITERAL"
->/</TT
-> may
-    be omitted.
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->www.example.com/index.html</TT
-></DT
-><DD
-><P
->    matches only the single document <TT
-CLASS="LITERAL"
->/index.html</TT
->
-    on <TT
-CLASS="LITERAL"
->www.example.com</TT
->.
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->/index.html</TT
-></DT
-><DD
-><P
->    matches the document <TT
-CLASS="LITERAL"
->/index.html</TT
->, regardless of the domain,
-    i.e. on <I
-CLASS="EMPHASIS"
->any</I
-> web server.
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->index.html</TT
-></DT
-><DD
-><P
->    matches nothing, since it would be  interpreted as a domain name and
-    there is no top-level domain called <TT
-CLASS="LITERAL"
->.html</TT
->.
-   </P
-></DD
-></DL
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="AEN1352"
->7.4.4.1. The Domain Pattern</A
-></H4
-><P
-> The matching of the domain part offers some flexible options: if the
- domain starts or ends with a dot, it becomes unanchored at that end. 
- For example:</P
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->.example.com</TT
-></DT
-><DD
-><P
->    matches any domain that <I
-CLASS="EMPHASIS"
->ENDS</I
-> in
-    <TT
-CLASS="LITERAL"
->.example.com</TT
->
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->www.</TT
-></DT
-><DD
-><P
->    matches any domain that <I
-CLASS="EMPHASIS"
->STARTS</I
-> with
-    <TT
-CLASS="LITERAL"
->www.</TT
->
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->.example.</TT
-></DT
-><DD
-><P
->    matches any domain that <I
-CLASS="EMPHASIS"
->CONTAINS</I
-> <TT
-CLASS="LITERAL"
->.example.</TT
->
-    (Correctly speaking: It matches any FQDN that contains <TT
-CLASS="LITERAL"
->example</TT
-> as a domain.)
-   </P
-></DD
-></DL
-></DIV
-><P
-> Additionally, there are wild-cards that you can use in the domain names
- themselves. They work pretty similar to shell wild-cards: <SPAN
-CLASS="QUOTE"
->"*"</SPAN
->
- stands for zero or more arbitrary characters, <SPAN
-CLASS="QUOTE"
->"?"</SPAN
-> stands for
- any single character, you can define character classes in square
- brackets and all of that can be freely mixed:</P
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->ad*.example.com</TT
-></DT
-><DD
-><P
->    matches <SPAN
-CLASS="QUOTE"
->"adserver.example.com"</SPAN
->, 
-    <SPAN
-CLASS="QUOTE"
->"ads.example.com"</SPAN
->, etc but not <SPAN
-CLASS="QUOTE"
->"sfads.example.com"</SPAN
->
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->*ad*.example.com</TT
-></DT
-><DD
-><P
->    matches all of the above, and then some.
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->.?pix.com</TT
-></DT
-><DD
-><P
->    matches <TT
-CLASS="LITERAL"
->www.ipix.com</TT
->,
-    <TT
-CLASS="LITERAL"
->pictures.epix.com</TT
->, <TT
-CLASS="LITERAL"
->a.b.c.d.e.upix.com</TT
-> etc. 
-   </P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->www[1-9a-ez].example.c*</TT
-></DT
-><DD
-><P
->     matches <TT
-CLASS="LITERAL"
->www1.example.com</TT
->, 
-     <TT
-CLASS="LITERAL"
->www4.example.cc</TT
->, <TT
-CLASS="LITERAL"
->wwwd.example.cy</TT
->, 
-     <TT
-CLASS="LITERAL"
->wwwz.example.com</TT
-> etc., but <I
-CLASS="EMPHASIS"
->not</I
-> 
-     <TT
-CLASS="LITERAL"
->wwww.example.com</TT
->.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="AEN1414"
->7.4.4.2. The Path Pattern</A
-></H4
-><P
-> <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> uses Perl compatible regular expressions
- (through the <A
-HREF="http://www.pcre.org/"
-TARGET="_top"
->PCRE</A
-> library) for
- matching the path.</P
-><P
-> There is an <A
-HREF="appendix.html#REGEX"
->Appendix</A
-> with a brief quick-start into regular
- expressions, and full (very technical) documentation on PCRE regex syntax is available on-line
- at <A
-HREF="http://www.pcre.org/man.txt"
-TARGET="_top"
->http://www.pcre.org/man.txt</A
->.
- You might also find the Perl man page on regular expressions (<TT
-CLASS="LITERAL"
->man perlre</TT
->)
- useful, which is available on-line at <A
-HREF="http://www.perldoc.com/perl5.6/pod/perlre.html"
-TARGET="_top"
->http://www.perldoc.com/perl5.6/pod/perlre.html</A
->.</P
-><P
-> Note that the path pattern is automatically left-anchored at the <SPAN
-CLASS="QUOTE"
->"/"</SPAN
->,
- i.e. it matches as if it would start with a <SPAN
-CLASS="QUOTE"
->"^"</SPAN
-> (regular expression speak 
- for the beginning of a line).</P
-><P
-> Please also note that matching in the path is case
- <I
-CLASS="EMPHASIS"
->INSENSITIVE</I
-> by default, but you can switch to case
- sensitive at any point in the pattern by using the 
- <SPAN
-CLASS="QUOTE"
->"(?-i)"</SPAN
-> switch:
- <TT
-CLASS="LITERAL"
->www.example.com/(?-i)PaTtErN.*</TT
-> will match only
- documents whose path starts with <TT
-CLASS="LITERAL"
->PaTtErN</TT
-> in
- <I
-CLASS="EMPHASIS"
->exactly</I
-> this capitalization.</P
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="ACTIONS"
->7.4.5. Actions</A
-></H3
-><P
-> All actions are disabled by default, until they are explicitly enabled
- somewhere in an actions file. Actions are turned on if preceded with a
- <SPAN
-CLASS="QUOTE"
->"+"</SPAN
->, and turned off if preceded with a <SPAN
-CLASS="QUOTE"
->"-"</SPAN
->. So a
- <SPAN
-CLASS="QUOTE"
->"+action"</SPAN
-> means <SPAN
-CLASS="QUOTE"
->"do that action"</SPAN
->, e.g.
- <SPAN
-CLASS="QUOTE"
->"+block"</SPAN
-> means please <SPAN
-CLASS="QUOTE"
->"block the following URL
- patterns"</SPAN
->. </P
-><P
-> 
- Actions are invoked by enclosing the action name in curly braces (e.g.
- {+some_action}), followed by a list of URLs (or patterns that match URLs) to
- which the action applies. There are three classes of actions: </P
-><P
-> <P
-></P
-><UL
-><LI
-><P
->  
-   Boolean, i.e the action can only be <SPAN
-CLASS="QUOTE"
->"on"</SPAN
-> or
-   <SPAN
-CLASS="QUOTE"
->"off"</SPAN
->. Examples: 
- </P
-><P
->   <TT
-CLASS="LITERAL"
->    <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+name}</I
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;enable&nbsp;this&nbsp;action<br>
-&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{-name}</I
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;disable&nbsp;this&nbsp;action<br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
-> 
-   </TT
->
-  </P
-></LI
-><LI
-><P
->  
-   Parameterized, e.g. <SPAN
-CLASS="QUOTE"
->"+/-hide-user-agent{ Mozilla 1.0 }"</SPAN
->, 
-   where some value is required in order to enable this type of action.
-   Examples:
-  </P
-><P
->   <TT
-CLASS="LITERAL"
->    <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+name{param}}</I
->&nbsp;&nbsp;#&nbsp;enable&nbsp;action&nbsp;and&nbsp;set&nbsp;parameter&nbsp;to&nbsp;<SPAN
-CLASS="QUOTE"
->"param"</SPAN
-><br>
-&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{-name}</I
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;disable&nbsp;action&nbsp;(<SPAN
-CLASS="QUOTE"
->"parameter"</SPAN
->)&nbsp;can&nbsp;be&nbsp;omitted<br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
-> 
-   </TT
->
-  </P
-></LI
-><LI
-><P
->  
-  
-   Multi-value, e.g. <SPAN
-CLASS="QUOTE"
->"{+/-add-header{Name: value}}"</SPAN
-> or
-   <SPAN
-CLASS="QUOTE"
->"{+/-send-wafer{name=value}}"</SPAN
->), where some value needs to be defined
-   in addition to simply enabling the action. Examples:
-  </P
-><P
->   <TT
-CLASS="LITERAL"
->    <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+name{param=value}}</I
->&nbsp;&nbsp;&nbsp;#&nbsp;enable&nbsp;action&nbsp;and&nbsp;set&nbsp;<SPAN
-CLASS="QUOTE"
->"param"</SPAN
->&nbsp;to&nbsp;<SPAN
-CLASS="QUOTE"
->"value"</SPAN
-><br>
-&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{-name{param=value}}</I
->&nbsp;&nbsp;&nbsp;#&nbsp;remove&nbsp;the&nbsp;parameter&nbsp;<SPAN
-CLASS="QUOTE"
->"param"</SPAN
->&nbsp;completely<br>
-&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{-name}</I
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;disable&nbsp;this&nbsp;action&nbsp;totally&nbsp;and&nbsp;remove&nbsp;<SPAN
-CLASS="APPLICATION"
->param</SPAN
->&nbsp;too<br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
-> 
-   </TT
->
-  </P
-></LI
-></UL
-></P
-><P
-> If nothing is specified in any actions file, no <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
-> are
- taken. So in this case <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> would just be a
- normal, non-blocking, non-anonymizing proxy. You must specifically enable the
- privacy and blocking features you need (although the provided default actions
- files will give a good starting point).</P
-><P
-> Later defined actions always over-ride earlier ones.  So exceptions 
- to any rules you make, should come in the latter part of the file. For
- multi-valued actions, the actions are applied in the order they are
- specified. Actions files are processed in the order they are defined 
- in <TT
-CLASS="FILENAME"
->config</TT
-> (the default installation has three 
- actions files). It also quite possible for any given URL pattern to 
- match more than one action!</P
-><P
-> The list of valid <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
-> are:</P
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="ADD-HEADER"
->7.4.5.1. <I
-CLASS="EMPHASIS"
->+add-header{Name: value}</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Multi-value.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Send a user defined HTTP header to the web server.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    Any value is possible. Validity of the defined HTTP headers is not checked.
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+add-header{X-User-Tracking: sucks}}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    This action may be specified multiple times, in order to define multiple 
-    headers. This is rarely needed for the typical user. If you don't know what 
-    <SPAN
-CLASS="QUOTE"
->"HTTP headers"</SPAN
-> are, you definitely don't need to worry about this 
-    one.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="BLOCK"
->7.4.5.2. <I
-CLASS="EMPHASIS"
->+block</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Used to block a URL from reaching your browser. The URL may be 
-    anything, but is typically used to block ads or other obnoxious 
-    content.    
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->N/A</P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+block}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.banners.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.ads.r.us</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    If a URL matches one of the blocked patterns, <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
-    will intercept the URL and display its special <SPAN
-CLASS="QUOTE"
->"BLOCKED"</SPAN
-> page
-    instead. If there is sufficient space, a large red banner will appear with
-    a friendly message about why the page was blocked, and a way to go there
-    anyway. If there is insufficient space a smaller blocked page will appear
-    without the red banner. 
-    <A
-HREF="http://ads.bannerserver.example.com/nasty-ads/sponsor.html"
-TARGET="_top"
->Click here</A
->
-    to view the default blocked HTML page (<SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> must be running 
-    for this to work as intended!).
-   </P
-><P
-> 
-    A very important exception is if the URL <I
-CLASS="EMPHASIS"
->matches both</I
->
-    <SPAN
-CLASS="QUOTE"
->"+block"</SPAN
-> and <A
-HREF="configuration.html#HANDLE-AS-IMAGE"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+handle-as-image"</SPAN
-></A
->,
-    then it will be handled by 
-    <A
-HREF="configuration.html#SET-IMAGE-BLOCKER"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+set-image-blocker"</SPAN
-></A
->
-    (see below). It is important to understand this process, in order 
-    to understand how <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> is able to deal with 
-    ads and other objectionable content.
-   </P
-><P
->    The <A
-HREF="configuration.html#FILTER"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+filter"</SPAN
-></A
->
-    action can also perform some of the 
-    same functionality as <SPAN
-CLASS="QUOTE"
->"+block"</SPAN
->, but by virtue of very 
-    different programming techniques, and is most often used for different 
-    reasons.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="DEANIMATE-GIFS"
->7.4.5.3. <I
-CLASS="EMPHASIS"
->+deanimate-gifs</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Parameterized.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    To stop those annoying, distracting animated GIF images.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    <SPAN
-CLASS="QUOTE"
->"last"</SPAN
-> or <SPAN
-CLASS="QUOTE"
->"first"</SPAN
->
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+deanimate-gifs{last}}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    De-animate all animated GIF images, i.e. reduce them to their last frame.
-    This will also shrink the images considerably (in bytes, not pixels!). If
-    the option <SPAN
-CLASS="QUOTE"
->"first"</SPAN
-> is given, the first frame of the animation
-    is used as the replacement. If <SPAN
-CLASS="QUOTE"
->"last"</SPAN
-> is given, the last
-    frame of the animation is used instead, which probably makes more sense for
-    most banner animations, but also has the risk of not showing the entire
-    last frame (if it is only a delta to an earlier frame).
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="DOWNGRADE-HTTP-VERSION"
->7.4.5.4. <I
-CLASS="EMPHASIS"
->+downgrade-http-version</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    <SPAN
-CLASS="QUOTE"
->"+downgrade-http-version"</SPAN
-> will downgrade HTTP/1.1 client requests to
-    HTTP/1.0 and downgrade the responses as well.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+downgrade-http-version}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    Use this action for servers that use HTTP/1.1 protocol features that
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> doesn't handle well yet. HTTP/1.1 is
-    only partially implemented. Default is not to downgrade requests. This is
-    an infrequently needed action, and is used to help with rare problem sites only.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="FAST-REDIRECTS"
->7.4.5.5. <I
-CLASS="EMPHASIS"
->+fast-redirects</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    The <SPAN
-CLASS="QUOTE"
->"+fast-redirects"</SPAN
-> action enables interception of 
-    <SPAN
-CLASS="QUOTE"
->"redirect"</SPAN
-> requests from one server to another, which 
-    are used to track users.<SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> can cut off
-    all but the last valid URL in a redirect request and send a local redirect
-    back to your browser without contacting the intermediate site(s).
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+fast-redirects}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->  
-    Many sites, like yahoo.com, don't just link to other sites. Instead, they
-    will link to some script on their own server, giving the destination as a
-    parameter, which will then redirect you to the final target. URLs
-    resulting from this scheme typically look like:
-    <I
-CLASS="EMPHASIS"
->http://some.place/some_script?http://some.where-else</I
->.
-  </P
-><P
->    Sometimes, there are even multiple consecutive redirects encoded in the
-    URL. These redirections via scripts make your web browsing more traceable,
-    since the server from which you follow such a link can see where you go
-    to. Apart from that, valuable bandwidth and time is wasted, while your
-    browser ask the server for one redirect after the other. Plus, it feeds
-    the advertisers.
-   </P
-><P
->    This is a normally <SPAN
-CLASS="QUOTE"
->"on"</SPAN
-> feature, and often requires exceptions
-    for sites that are sensitive to defeating this mechanism.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="FILTER"
->7.4.5.6. <I
-CLASS="EMPHASIS"
->+filter</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Parameterized.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Apply page filtering as defined by named sections of the
-    <TT
-CLASS="FILENAME"
->default.filter</TT
-> file to the specified site(s). 
-    <SPAN
-CLASS="QUOTE"
->"Filtering"</SPAN
-> can be any modification of the raw 
-    page content, including re-writing or deletion of content.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    <SPAN
-CLASS="QUOTE"
->"+filter"</SPAN
-> must include the name of one of the section identifiers
-    from <TT
-CLASS="FILENAME"
->default.filter</TT
-> (or whatever
-    <I
-CLASS="EMPHASIS"
->filterfile</I
-> is specified in <TT
-CLASS="FILENAME"
->config</TT
->).
-   </P
-></DD
-><DT
->Example usage (from the current <TT
-CLASS="FILENAME"
->default.filter</TT
->):</DT
-><DD
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{html-annoyances}</I
->:  Get rid of particularly annoying HTML abuse.
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{js-annoyances}</I
->:    Get rid of particularly annoying JavaScript abuse
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{content-cookies}</I
->:   Kill cookies that come in the HTML or JS content 
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{popups}</I
->:         Kill all popups in JS and HTML
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{frameset-borders}</I
->: Give frames a border and make them resizable 
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{webbugs}</I
->:          Squish WebBugs (1x1 invisible GIFs used for user tracking)
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{refresh-tags}</I
->:     Kill automatic refresh tags (for dial-on-demand setups) 
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{fun}</I
->:              Text replacements  for subversive browsing fun!
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{nimda}</I
->:            Remove Nimda (virus) code.
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{banners-by-size}</I
->:  Kill banners by size (<I
-CLASS="EMPHASIS"
->very</I
-> efficient!)
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{shockwave-flash}</I
->:   Kill embedded Shockwave Flash objects
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->    <I
-CLASS="EMPHASIS"
->+filter{crude-parental}</I
->:   Kill all web pages that contain the words "sex" or "warez"
-   </TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    This is potentially a very powerful feature! And requires a knowledge 
-    of regular expressions if you want to <SPAN
-CLASS="QUOTE"
->"roll your own"</SPAN
->.
-    Filtering operates on a line by line basis throughout the entire page.
-   </P
-><P
->    Filtering requires buffering the page content, which may appear to
-    slow down page rendering since nothing is displayed until all content has
-    passed the filters. (It does not really take longer, but seems that way
-    since the page is not incrementally displayed.) This effect will be more
-    noticeable on slower connections.
-   </P
-><P
->    Filtering can achieve some of the effects as the 
-    <A
-HREF="configuration.html#BLOCK"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+block"</SPAN
-></A
->
-    action, i.e. it can be used to block ads and banners. In the overall 
-    scheme of things, filtering is one of the first things <SPAN
-CLASS="QUOTE"
->"Privoxy"</SPAN
-> 
-    does with a web page. So other most other actions are applied to the 
-    already <SPAN
-CLASS="QUOTE"
->"filtered"</SPAN
-> page.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="HIDE-FORWARDED-FOR-HEADERS"
->7.4.5.7. <I
-CLASS="EMPHASIS"
->+hide-forwarded-for-headers</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Block any existing X-Forwarded-for HTTP header, and do not add a new one.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+hide-forwarded-for-headers}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    It is fairly safe to leave this on. It does not seem to break many sites.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="HIDE-FROM-HEADER"
->7.4.5.8. <I
-CLASS="EMPHASIS"
->+hide-from-header</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Parameterized.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    To block the browser from sending your email address in a <SPAN
-CLASS="QUOTE"
->"From:"</SPAN
->
-    header.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    Keyword: <SPAN
-CLASS="QUOTE"
->"block"</SPAN
->, or any user defined value.
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+hide-from-header{block}}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    The keyword <SPAN
-CLASS="QUOTE"
->"block"</SPAN
-> will completely remove the header 
-    (not to be confused with the <A
-HREF="configuration.html#BLOCK"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+block"</SPAN
-></A
-> action).
-    Alternately, you can specify any value you prefer to send to the web
-    server.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="HIDE-REFERER"
->7.4.5.9. <I
-CLASS="EMPHASIS"
-><A
-NAME="HIDE-REFERRER"
-></A
->+hide-referer</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Parameterized.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->     Don't send the <SPAN
-CLASS="QUOTE"
->"Referer:"</SPAN
-> (sic) HTTP header to the web site.
-     Or, alternately send a forged header instead.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->     Prevent the header from being sent with the keyword, <SPAN
-CLASS="QUOTE"
->"block"</SPAN
->.
-     Or, <SPAN
-CLASS="QUOTE"
->"forge"</SPAN
-> a URL to one from the same server as the request.
-     Or, set to user defined value of your choice.
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+hide-referer{forge}}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    <SPAN
-CLASS="QUOTE"
->"forge"</SPAN
-> is the preferred option here, since some servers will
-    not send images back otherwise.
-   </P
-><P
->  
-   <SPAN
-CLASS="QUOTE"
->"+hide-referrer"</SPAN
-> is an alternate spelling of
-   <SPAN
-CLASS="QUOTE"
->"+hide-referer"</SPAN
->. It has the exact same parameters, and can be freely
-   mixed with, <SPAN
-CLASS="QUOTE"
->"+hide-referer"</SPAN
->. (<SPAN
-CLASS="QUOTE"
->"referrer"</SPAN
-> is the
-   correct English spelling, however the HTTP specification has a bug - it
-   requires it to be spelled as <SPAN
-CLASS="QUOTE"
->"referer"</SPAN
->.) 
-  </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="HIDE-USER-AGENT"
->7.4.5.10. <I
-CLASS="EMPHASIS"
->+hide-user-agent</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Parameterized.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    To change the <SPAN
-CLASS="QUOTE"
->"User-Agent:"</SPAN
-> header so web servers can't tell
-    your browser type. Who's business is it anyway?
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    Any user defined string.
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+hide-user-agent{Netscape 6.1 (X11; I; Linux 2.4.18 i686)}}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.msn.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->     Warning! This breaks many web sites that depend on this in order 
-     to determine how the target browser will respond to various 
-     requests. Use with caution.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="HANDLE-AS-IMAGE"
->7.4.5.11. <I
-CLASS="EMPHASIS"
->+handle-as-image</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    To define what <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> should treat 
-    automatically as an image, and is an important ingredient of how 
-    ads are handled.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+handle-as-image}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->/.*\.(gif|jpg|jpeg|png|bmp|ico)</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    This only has meaning if the URL (or pattern) also is
-    <SPAN
-CLASS="QUOTE"
->"+block"</SPAN
->ed, in which case a user definable image can
-    be sent rather than a HTML page. This is integral to the whole concept of
-    ad blocking: the URL must match <I
-CLASS="EMPHASIS"
->both</I
-> a <A
-HREF="configuration.html#BLOCK"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+block"</SPAN
-></A
-> rule,
-    <I
-CLASS="EMPHASIS"
->and</I
-> <SPAN
-CLASS="QUOTE"
->"+handle-as-image"</SPAN
->.
-    (See <A
-HREF="configuration.html#SET-IMAGE-BLOCKER"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+set-image-blocker"</SPAN
-></A
->
-    below for control over what will actually be displayed by the browser.)
-   </P
-><P
->    There is little reason to change the default definition for this action.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="SET-IMAGE-BLOCKER"
->7.4.5.12. <I
-CLASS="EMPHASIS"
->+set-image-blocker</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Parameterized.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Decide what to do with URLs that end up tagged with <I
-CLASS="EMPHASIS"
->both</I
-> 
-    <A
-HREF="configuration.html#BLOCK"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+block"</SPAN
-></A
->
-    and <A
-HREF="configuration.html#HANDLE-AS-IMAGE"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+handle-as-image"</SPAN
-></A
->,
-    e.g an advertisement.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    There are four available options: <SPAN
-CLASS="QUOTE"
->"-set-image-blocker"</SPAN
-> will send a HTML
-    <SPAN
-CLASS="QUOTE"
->"blocked"</SPAN
-> page, usually resulting in a <SPAN
-CLASS="QUOTE"
->"broken
-    image"</SPAN
-> icon.
-    <SPAN
-CLASS="QUOTE"
->"+set-image-blocker{<I
-CLASS="EMPHASIS"
->blank</I
->}"</SPAN
-> will send a
-    1x1 transparent GIF image.
-    <SPAN
-CLASS="QUOTE"
->"+set-image-blocker{<I
-CLASS="EMPHASIS"
->pattern</I
->}"</SPAN
-> will send a
-    checkerboard type pattern (the default). And finally,
-    <SPAN
-CLASS="QUOTE"
->"+set-image-blocker{<I
-CLASS="EMPHASIS"
->http://xyz.com</I
->}"</SPAN
-> will
-    send a HTTP temporary redirect to the specified image. This has the
-    advantage of the icon being being cached by the browser, which will speed
-    up the display.
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+set-image-blocker{blank}}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    If you want <I
-CLASS="EMPHASIS"
->invisible</I
-> ads, they need to meet 
-    criteria as matching both <I
-CLASS="EMPHASIS"
->images</I
-> and <I
-CLASS="EMPHASIS"
->blocked</I
->
-    actions. And then, <SPAN
-CLASS="QUOTE"
->"image-blocker"</SPAN
-> should be set to
-    <SPAN
-CLASS="QUOTE"
->"blank"</SPAN
-> for invisibility. Note you cannot treat HTML pages as
-    images in most cases. For instance, frames require an HTML page to
-    display. So a frame that is an ad, typically cannot be treated as an image.
-    Forcing an <SPAN
-CLASS="QUOTE"
->"image"</SPAN
-> in this situation just will not work
-    reliably. 
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="LIMIT-CONNECT"
->7.4.5.13. <I
-CLASS="EMPHASIS"
->+limit-connect</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Parameterized.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    By default, <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> only allows HTTP CONNECT
-    requests to port 443 (the standard, secure HTTPS port). Use 
-    <SPAN
-CLASS="QUOTE"
->"+limit-connect"</SPAN
-> to disable this altogether, or to allow 
-    more ports.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    Any valid port number, or port number range.
-   </P
-></DD
-><DT
->Example usages:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->+limit-connect{443}</I
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;This&nbsp;is&nbsp;the&nbsp;default&nbsp;and&nbsp;need&nbsp;not&nbsp;be&nbsp;specified.<br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->+limit-connect{80,443}</I
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;Ports&nbsp;80&nbsp;and&nbsp;443&nbsp;are&nbsp;OK.<br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->+limit-connect{-3, 7, 20-100, 500-}</I
->&nbsp;&nbsp;&nbsp;#&nbsp;Port&nbsp;less&nbsp;than&nbsp;3,&nbsp;7,&nbsp;20&nbsp;to&nbsp;100&nbsp;and&nbsp;above&nbsp;500&nbsp;are&nbsp;OK.<br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    The CONNECT methods exists in HTTP to allow access to secure websites
-    (https:// URLs) through proxies. It works very simply: the proxy connects
-    to the server on the specified port, and then short-circuits its
-    connections to the client <I
-CLASS="EMPHASIS"
->and</I
-> to the remote proxy.
-    This can be a big security hole, since CONNECT-enabled proxies can be
-    abused as TCP relays very easily.
-  </P
-><P
-> 
-   If you want to allow CONNECT for more ports than this, or want to forbid
-   CONNECT altogether, you can specify a comma separated list of ports and
-   port ranges (the latter using dashes, with the minimum defaulting to 0 and
-   max to 65K).
-  </P
-><P
->   If you don't know what any of this means, there probably is no reason to 
-   change this one.
-  </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="PREVENT-COMPRESSION"
->7.4.5.14. <I
-CLASS="EMPHASIS"
->+prevent-compression</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Prevent the specified websites from compressing HTTP data.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+prevent-compression}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    Some websites do this, which can be a problem for
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->, since 
-    <A
-HREF="configuration.html#FILTER"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+filter"</SPAN
-></A
->,
-    <A
-HREF="configuration.html#KILL-POPUPS"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+kill-popups"</SPAN
-></A
->
-    and <A
-HREF="configuration.html#GIF-DEANIMATE"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+gif-deanimate"</SPAN
-></A
->
-    will not work on compressed data. This will slow down connections to those
-    websites, though. Default typically is to turn
-    <SPAN
-CLASS="QUOTE"
->"prevent-compression"</SPAN
-> on.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="SESSION-COOKIES-ONLY"
->7.4.5.15. <I
-CLASS="EMPHASIS"
->+session-cookies-only</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Allow cookies for the current browser session <I
-CLASS="EMPHASIS"
->only</I
->.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage (disabling):</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{-session-cookies-only}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    If websites set cookies, <SPAN
-CLASS="QUOTE"
->"+session-cookies-only"</SPAN
-> will make sure
-    they are erased when you exit and restart your web browser. This makes
-    profiling cookies useless, but won't break sites which require cookies so
-    that you can log in for transactions. This is generally turned on for all 
-    sites, and is the recommended setting.
-   </P
-><P
->    <SPAN
-CLASS="QUOTE"
->"+prevent-*-cookies"</SPAN
-> actions should be turned off as well (see
-    below), for <SPAN
-CLASS="QUOTE"
->"+session-cookies-only"</SPAN
-> to work. Or, else no cookies 
-    will get through at all. For, <SPAN
-CLASS="QUOTE"
->"persistent"</SPAN
-> cookies that survive 
-    across browser sessions, see below as well.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="PREVENT-READING-COOKIES"
->7.4.5.16. <I
-CLASS="EMPHASIS"
->+prevent-reading-cookies</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Explicitly prevent the web server from reading any cookies on your 
-    system.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+prevent-reading-cookies}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    Often used in conjunction with <SPAN
-CLASS="QUOTE"
->"+prevent-setting-cookies"</SPAN
-> to 
-    disable cookies completely. Note that 
-    <A
-HREF="configuration.html#SESSION-COOKIES-ONLY"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"+session-cookies-only"</SPAN
-></A
->
-    requires these to both be disabled (or else it never gets any cookies to cache).
-   </P
-><P
->    For <SPAN
-CLASS="QUOTE"
->"persistent"</SPAN
-> cookies to work (i.e. they survive across browser 
-    sessions and reboots), all three cookie settings should be <SPAN
-CLASS="QUOTE"
->"off"</SPAN
-> 
-    for the specified sites.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="PREVENT-SETTING-COOKIES"
->7.4.5.17. <I
-CLASS="EMPHASIS"
->+prevent-setting-cookies</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Explicitly block the web server from storing cookies on your 
-    system.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+prevent-setting-cookies}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    Often used in conjunction with <SPAN
-CLASS="QUOTE"
->"+prevent-reading-cookies"</SPAN
-> to 
-    disable cookies completely (see above).
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="KILL-POPUP"
->7.4.5.18. <I
-CLASS="EMPHASIS"
->+kill-popups<A
-NAME="KILL-POPUPS"
-></A
-></I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Stop those annoying JavaScript pop-up windows! 
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+kill-popups}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    <SPAN
-CLASS="QUOTE"
->"+kill-popups"</SPAN
-> uses a built in filter to disable pop-ups
-    that use the <TT
-CLASS="LITERAL"
->window.open()</TT
-> function, etc. This is 
-    one of the first actions processed by <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
-    as it contacts the remote web server. This action is not always 100% reliable, 
-    and is supplemented by <SPAN
-CLASS="QUOTE"
->"+filter{<I
-CLASS="EMPHASIS"
->popups</I
->}"</SPAN
->.
-    </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="SEND-VANILLA-WAFER"
->7.4.5.19. <I
-CLASS="EMPHASIS"
->+send-vanilla-wafer</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    Sends a cookie for every site stating that you do not accept any copyright
-    on cookies sent to you, and asking them not to track you.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+send-vanilla-wafer}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    This action only applies if you are using a <TT
-CLASS="FILENAME"
->jarfile</TT
->
-    for saving cookies. Of course, this is a (relatively) unique header and 
-    could conceivably be used to track you.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H4
-CLASS="SECT4"
-><A
-NAME="SEND-WAFER"
->7.4.5.20. <I
-CLASS="EMPHASIS"
->+send-wafer</I
-></A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Type:</DT
-><DD
-><P
->Multi-value.</P
-></DD
-><DT
->Typical uses:</DT
-><DD
-><P
->    This allows you to send an arbitrary, user definable cookie.
-   </P
-></DD
-><DT
->Possible values:</DT
-><DD
-><P
->    User specified cookie name and corresponding value.
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->{+send-wafer{name=value}}</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I
-CLASS="EMPHASIS"
->.example.com</I
-><br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    This can be specified multiple times in order to add as many cookies as you
-    like.
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT4"
-><H3
-CLASS="SECT4"
-><A
-NAME="ACT-EXAMPLES"
->7.4.5.21. Actions Examples</A
-></H3
-><P
-> Note that the meaning of any of the above examples is reversed by preceding
- the action with a <SPAN
-CLASS="QUOTE"
->"-"</SPAN
->, in place of the <SPAN
-CLASS="QUOTE"
->"+"</SPAN
->. Also, 
- that some actions are turned on in the default section of the actions file, 
- and require little to no additional configuration. These are just <SPAN
-CLASS="QUOTE"
->"on"</SPAN
->.
- But, other actions that are turned on the default section <I
-CLASS="EMPHASIS"
->do
- typically require</I
-> exceptions to be listed in the lower sections of
- actions file. E.g. by default no URLs are <SPAN
-CLASS="QUOTE"
->"blocked"</SPAN
-> (i.e. in 
- the default definitions of <TT
-CLASS="FILENAME"
->default.action</TT
->). We need 
- exceptions to this in order to enable ad blocking.</P
-><P
-> Some examples:</P
-><P
-> Turn off cookies by default, then allow a few through for specified sites 
- (showing an excerpt from the <SPAN
-CLASS="QUOTE"
->"default"</SPAN
-> section of an actions
- file ONLY):</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;#&nbsp;Excerpt&nbsp;only:<br>
-&nbsp;#&nbsp;Allow&nbsp;cookies&nbsp;to&nbsp;and&nbsp;from&nbsp;the&nbsp;server,&nbsp;but<br>
-&nbsp;#&nbsp;for&nbsp;this&nbsp;browser&nbsp;session&nbsp;ONLY<br>
-&nbsp;{&nbsp;<br>
-&nbsp;&nbsp;&nbsp;#&nbsp;other&nbsp;actions&nbsp;normally&nbsp;listed&nbsp;here...<br>
-&nbsp;&nbsp;&nbsp;-prevent-setting-cookies&nbsp;\<br>
-&nbsp;&nbsp;&nbsp;-prevent-reading-cookies&nbsp;\<br>
-&nbsp;&nbsp;&nbsp;+session-cookies-only&nbsp;&nbsp;&nbsp;\&nbsp;&nbsp;<br>
-&nbsp;}<br>
-&nbsp;/&nbsp;#&nbsp;match&nbsp;all&nbsp;URLs<br>
-<br>
-&nbsp;#&nbsp;Exceptions&nbsp;to&nbsp;the&nbsp;above,&nbsp;sites&nbsp;that&nbsp;benefit&nbsp;from&nbsp;persistent&nbsp;cookies<br>
-&nbsp;#&nbsp;that&nbsp;are&nbsp;saved&nbsp;from&nbsp;one&nbsp;browser&nbsp;session&nbsp;to&nbsp;the&nbsp;next.<br>
-&nbsp;{&nbsp;-session-cookies-only&nbsp;}<br>
-&nbsp;&nbsp;.javasoft.com<br>
-&nbsp;&nbsp;.sun.com<br>
-&nbsp;&nbsp;.yahoo.com<br>
-&nbsp;&nbsp;.msdn.microsoft.com<br>
-&nbsp;&nbsp;.redhat.com<br>
-<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><P
-> Now turn off <SPAN
-CLASS="QUOTE"
->"fast redirects"</SPAN
->, and then we allow two exceptions:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;#&nbsp;Turn&nbsp;them&nbsp;off&nbsp;(excerpt&nbsp;only)!<br>
-&nbsp;{<br>
-&nbsp;&nbsp;#&nbsp;other&nbsp;actions&nbsp;normally&nbsp;listed&nbsp;here...<br>
-&nbsp;&nbsp;+fast-redirects<br>
-&nbsp;}<br>
-&nbsp;/&nbsp;#&nbsp;match&nbsp;all&nbsp;URLs<br>
-&nbsp;<br>
-&nbsp;#&nbsp;Reverse&nbsp;it&nbsp;for&nbsp;these&nbsp;two&nbsp;sites,&nbsp;which&nbsp;don't&nbsp;work&nbsp;right&nbsp;without&nbsp;it.<br>
-&nbsp;{-fast-redirects}<br>
-&nbsp;&nbsp;www.ukc.ac.uk/cgi-bin/wac\.cgi\?<br>
-&nbsp;&nbsp;login.yahoo.com<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><P
-> Turn on page filtering according to rules in the defined sections 
- of <TT
-CLASS="FILENAME"
->default.filter</TT
->, and make one exception for 
- Sourceforge:
- </P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;#&nbsp;Run&nbsp;everything&nbsp;through&nbsp;the&nbsp;filter&nbsp;file,&nbsp;using&nbsp;only&nbsp;certain<br>
-&nbsp;#&nbsp;specified&nbsp;sections:<br>
-&nbsp;{<br>
-&nbsp;&nbsp;#&nbsp;other&nbsp;actions&nbsp;normally&nbsp;listed&nbsp;here...<br>
-&nbsp;&nbsp;+filter{html-annoyances}&nbsp;+filter{js-annoyances}&nbsp;+filter{kill-popups}\<br>
-&nbsp;&nbsp;+filter{webbugs}&nbsp;+filter{nimda}&nbsp;+filter{banners-by-size}<br>
-&nbsp;}<br>
-&nbsp;/&nbsp;#match&nbsp;all&nbsp;URLs<br>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
-&nbsp;#&nbsp;Then&nbsp;disable&nbsp;filtering&nbsp;of&nbsp;code&nbsp;from&nbsp;all&nbsp;sourceforge&nbsp;domains!<br>
-&nbsp;{-filter}<br>
-&nbsp;&nbsp;.sourceforge.net<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><P
-> Now some URLs that we want <SPAN
-CLASS="QUOTE"
->"blocked"</SPAN
-> (normally generates 
- the <SPAN
-CLASS="QUOTE"
->"blocked"</SPAN
-> banner). Typically, the <SPAN
-CLASS="QUOTE"
->"block"</SPAN
->
- action is off by default in the upper section of an actions file, then enabled
- against certain URLs and patterns in the lower part of the file. Many of these use <A
-HREF="appendix.html#REGEX"
->regular expressions</A
-> that will expand to match multiple
- URLs: </P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;&nbsp;#&nbsp;Blocklist:<br>
-&nbsp;&nbsp;{+block}<br>
-&nbsp;&nbsp;ad*.<br>
-&nbsp;&nbsp;.*ads.<br>
-&nbsp;&nbsp;banner?.<br>
-&nbsp;&nbsp;count*.<br>
-&nbsp;&nbsp;/.*count(er)?\.(pl|cgi|exe|dll|asp|php[34]?)<br>
-&nbsp;&nbsp;/(?:.*/)?(publicite|werbung|rekla(ma|me|am)|annonse|maino(kset|nta|s)?)/<br>
-&nbsp;&nbsp;.hitbox.com&nbsp;<br>
-&nbsp;&nbsp;/.*/(ng)?adclient\.cgi<br>
-&nbsp;&nbsp;/.*/(plain|live|rotate)[-_.]?ads?/<br>
-&nbsp;&nbsp;/.*/abanners/<br>
-&nbsp;&nbsp;/autoads/<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><P
-> Note that many of these actions have the potential to cause a page to
- misbehave, possibly even not to display at all. There are many ways 
- a site designer may choose to design his site, and what HTTP header 
- content, and other criteria, he may depend on. There is no way to have hard
- and fast rules for all sites. See the <A
-HREF="appendix.html#ACTIONSANAT"
->Appendix</A
-> for a brief example on troubleshooting
- actions.</P
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="ALIASES"
->7.4.6. Aliases</A
-></H3
-><P
-> Custom <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
->, known to <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
- as <SPAN
-CLASS="QUOTE"
->"aliases"</SPAN
->, can be defined by combining other <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
->.
- These can in turn be invoked just like the built-in <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
->.
- Currently, an alias can contain any character except space, tab, <SPAN
-CLASS="QUOTE"
->"="</SPAN
->,
- <SPAN
-CLASS="QUOTE"
->"{"</SPAN
-> or <SPAN
-CLASS="QUOTE"
->"}"</SPAN
->. But please use only <SPAN
-CLASS="QUOTE"
->"a"</SPAN
->-
- <SPAN
-CLASS="QUOTE"
->"z"</SPAN
->, <SPAN
-CLASS="QUOTE"
->"0"</SPAN
->-<SPAN
-CLASS="QUOTE"
->"9"</SPAN
->, <SPAN
-CLASS="QUOTE"
->"+"</SPAN
->, and
- <SPAN
-CLASS="QUOTE"
->"-"</SPAN
->. Alias names are not case sensitive, and 
- <I
-CLASS="EMPHASIS"
->must be defined before other actions</I
-> in the
- actions file! And there can only be one set of <SPAN
-CLASS="QUOTE"
->"aliases"</SPAN
->
- defined per file. Each actions file may have its own aliases, but they are 
- only visible within that file.</P
-><P
-> Now let's define a few aliases:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;#&nbsp;Useful&nbsp;custom&nbsp;aliases&nbsp;we&nbsp;can&nbsp;use&nbsp;later.&nbsp;These&nbsp;must&nbsp;come&nbsp;first!<br>
-&nbsp;{{alias}}<br>
-&nbsp;+prevent-cookies&nbsp;=&nbsp;+prevent-setting-cookies&nbsp;+prevent-reading-cookies<br>
-&nbsp;-prevent-cookies&nbsp;=&nbsp;-prevent-setting-cookies&nbsp;-prevent-reading-cookies<br>
-&nbsp;fragile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;-block&nbsp;-prevent-cookies&nbsp;-filter&nbsp;-fast-redirects&nbsp;-hide-referer&nbsp;-kill-popups<br>
-&nbsp;shop&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;-prevent-cookies&nbsp;-filter&nbsp;-fast-redirects<br>
-&nbsp;+imageblock&nbsp;=&nbsp;+block&nbsp;+handle-as-image<br>
-<br>
-&nbsp;#&nbsp;Aliases&nbsp;defined&nbsp;from&nbsp;other&nbsp;aliases,&nbsp;for&nbsp;people&nbsp;who&nbsp;don't&nbsp;like&nbsp;to&nbsp;type&nbsp;<br>
-&nbsp;#&nbsp;too&nbsp;much:&nbsp;&nbsp;;-)<br>
-&nbsp;c0&nbsp;=&nbsp;+prevent-cookies<br>
-&nbsp;c1&nbsp;=&nbsp;-prevent-cookies<br>
-&nbsp;#...&nbsp;etc.&nbsp;&nbsp;Customize&nbsp;to&nbsp;your&nbsp;heart's&nbsp;content.<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><P
-> Some examples using our <SPAN
-CLASS="QUOTE"
->"shop"</SPAN
-> and <SPAN
-CLASS="QUOTE"
->"fragile"</SPAN
->
- aliases from above. These would appear in the lower sections of an 
- actions file as exceptions to the default actions (as defined in the 
- upper section):</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;#&nbsp;These&nbsp;sites&nbsp;are&nbsp;very&nbsp;complex&nbsp;and&nbsp;require<br>
-&nbsp;#&nbsp;minimal&nbsp;interference.<br>
-&nbsp;{fragile}<br>
-&nbsp;&nbsp;.office.microsoft.com<br>
-&nbsp;&nbsp;.windowsupdate.microsoft.com<br>
-&nbsp;&nbsp;.nytimes.com<br>
-<br>
-&nbsp;#&nbsp;Shopping&nbsp;sites&nbsp;-&nbsp;but&nbsp;we&nbsp;still&nbsp;want&nbsp;to&nbsp;block&nbsp;ads.<br>
-&nbsp;{shop}<br>
-&nbsp;&nbsp;.quietpc.com<br>
-&nbsp;&nbsp;.worldpay.com&nbsp;&nbsp;&nbsp;#&nbsp;for&nbsp;quietpc.com<br>
-&nbsp;&nbsp;.scan.co.uk<br>
-<br>
-&nbsp;#&nbsp;These&nbsp;shops&nbsp;require&nbsp;pop-ups&nbsp;also&nbsp;<br>
-&nbsp;{shop&nbsp;-kill-popups}<br>
-&nbsp;&nbsp;.dabs.com<br>
-&nbsp;&nbsp;.overclockers.co.uk<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><P
-> The <SPAN
-CLASS="QUOTE"
->"shop"</SPAN
-> and <SPAN
-CLASS="QUOTE"
->"fragile"</SPAN
-> aliases are often used for 
- <SPAN
-CLASS="QUOTE"
->"problem"</SPAN
-> sites that require most actions to be disabled 
- in order to function properly.&#13;</P
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="FILTER-FILE"
->7.5. The Filter File</A
-></H2
-><P
-> Any web page can be dynamically modified with the filter file. This
- modification can be removal, or re-writing, of any web page content,
- including tags and non-visible content. The default filter file is
- <TT
-CLASS="FILENAME"
->default.filter</TT
->, located in the config directory. </P
-><P
-> This is potentially a very powerful feature, and requires knowledge of both 
- <SPAN
-CLASS="QUOTE"
->"regular expression"</SPAN
-> and HTML in order create custom 
- filters. But, there are a number of useful filters included with 
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> for many common situations.</P
-><P
-> The included example file is divided into sections. Each section begins 
- with the <TT
-CLASS="LITERAL"
->FILTER</TT
-> keyword, followed by the identifier 
- for that section, e.g. <SPAN
-CLASS="QUOTE"
->"FILTER: webbugs"</SPAN
->. Each section performs
- a similar type of filtering, such as <SPAN
-CLASS="QUOTE"
->"html-annoyances"</SPAN
->.</P
-><P
-> This file uses regular expressions to alter or remove any string in the
- target page. The expressions can only operate on one line at a time. Some
- examples from the included default <TT
-CLASS="FILENAME"
->default.filter</TT
->:</P
-><P
-> Stop web pages from displaying annoying messages in the status bar by
- deleting such references:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;FILTER:&nbsp;html-annoyances<br>
-<br>
-&nbsp;#&nbsp;New&nbsp;browser&nbsp;windows&nbsp;should&nbsp;be&nbsp;resizeable&nbsp;and&nbsp;have&nbsp;a&nbsp;location&nbsp;and&nbsp;status<br>
-&nbsp;#&nbsp;bar.&nbsp;Make&nbsp;it&nbsp;so.<br>
-&nbsp;#<br>
-&nbsp;s/resizable="?(no|0)"?/resizable=1/ig&nbsp;s/noresize/yesresize/ig<br>
-&nbsp;s/location="?(no|0)"?/location=1/ig&nbsp;s/status="?(no|0)"?/status=1/ig<br>
-&nbsp;s/scrolling="?(no|0|Auto)"?/scrolling=1/ig<br>
-&nbsp;s/menubar="?(no|0)"?/menubar=1/ig&nbsp;<br>
-<br>
-&nbsp;#&nbsp;The&nbsp;&#60;BLINK&#62;&nbsp;tag&nbsp;was&nbsp;a&nbsp;crime!<br>
-&nbsp;#<br>
-&nbsp;s*&#60;blink&#62;|&#60;/blink&#62;**ig<br>
-<br>
-&nbsp;#&nbsp;Is&nbsp;this&nbsp;evil?&nbsp;<br>
-&nbsp;#<br>
-&nbsp;#s/framespacing="?(no|0)"?//ig<br>
-&nbsp;#s/margin(height|width)=[0-9]*//gi<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><P
-> Just for kicks, replace any occurrence of <SPAN
-CLASS="QUOTE"
->"Microsoft"</SPAN
-> with
- <SPAN
-CLASS="QUOTE"
->"MicroSuck"</SPAN
->, and have a little fun with topical buzzwords: </P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;FILTER:&nbsp;fun<br>
-<br>
-&nbsp;s/microsoft(?!.com)/MicroSuck/ig<br>
-<br>
-&nbsp;#&nbsp;Buzzword&nbsp;Bingo:<br>
-&nbsp;#<br>
-&nbsp;s/industry-leading|cutting-edge|award-winning/&#60;font&nbsp;color=red&#62;&#60;b&#62;BINGO!&#60;/b&#62;&#60;/font&#62;/ig<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-><P
-> Kill those pesky little web-bugs:</P
-><P
-> <TT
-CLASS="LITERAL"
->  <P
-CLASS="LITERALLAYOUT"
->&nbsp;#&nbsp;webbugs:&nbsp;Squish&nbsp;WebBugs&nbsp;(1x1&nbsp;invisible&nbsp;GIFs&nbsp;used&nbsp;for&nbsp;user&nbsp;tracking)<br>
-&nbsp;FILTER:&nbsp;webbugs<br>
-<br>
-&nbsp;s/&#60;img\s+[^&#62;]*?(width|height)\s*=\s*['"]?1\D[^&#62;]*?(width|height)\s*=\s*['"]?1(\D[^&#62;]*?)?&#62;/&#60;!--&nbsp;Squished&nbsp;WebBug&nbsp;--&#62;/sig<br>
-&nbsp;&nbsp;&nbsp;</P
-> 
- </TT
-></P
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN2273"
->7.6. Templates</A
-></H2
-><P
-> When <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> displays one of its internal 
- pages, such as a 404 Not Found error page, it uses the appropriate template.
- On Linux, BSD, and Unix, these are located in
- <TT
-CLASS="FILENAME"
->/etc/privoxy/templates</TT
-> by default. These may be
- customized, if desired. <TT
-CLASS="FILENAME"
->cgi-style.css</TT
-> is 
- used to control the HTML attributes (fonts, etc).</P
-><P
-> The default <SPAN
-CLASS="QUOTE"
->"Blocked"</SPAN
-> banner page with the bright red top 
- banner, is called just <SPAN
-CLASS="QUOTE"
->"<TT
-CLASS="FILENAME"
->blocked</TT
->"</SPAN
->. This 
- may be customized or replaced with something else if desired.&#13;</P
-></DIV
 ></DIV
 ><DIV
 CLASS="NAVFOOTER"
 ></DIV
 ><DIV
 CLASS="NAVFOOTER"
@@ -6195,7 +437,7 @@ WIDTH="33%"
 ALIGN="right"
 VALIGN="top"
 ><A
 ALIGN="right"
 VALIGN="top"
 ><A
-HREF="contact.html"
+HREF="config.html"
 >Next</A
 ></TD
 ></TR
 >Next</A
 ></TD
 ></TR
@@ -6217,8 +459,7 @@ VALIGN="top"
 WIDTH="33%"
 ALIGN="right"
 VALIGN="top"
 WIDTH="33%"
 ALIGN="right"
 VALIGN="top"
->Contacting the Developers, Bug Reporting and Feature
-Requests</TD
+>The Main Configuration File</TD
 ></TR
 ></TABLE
 ></DIV
 ></TR
 ></TABLE
 ></DIV
index 5c9e4d0..7e9f4c7 100644 (file)
@@ -11,8 +11,8 @@ REL="HOME"
 TITLE="Privoxy User Manual"
 HREF="index.html"><LINK
 REL="PREVIOUS"
 TITLE="Privoxy User Manual"
 HREF="index.html"><LINK
 REL="PREVIOUS"
-TITLE="Privoxy Configuration"
-HREF="configuration.html"><LINK
+TITLE="Templates"
+HREF="templates.html"><LINK
 REL="NEXT"
 TITLE="Copyright and History"
 HREF="copyright.html"><LINK
 REL="NEXT"
 TITLE="Copyright and History"
 HREF="copyright.html"><LINK
@@ -45,7 +45,7 @@ WIDTH="10%"
 ALIGN="left"
 VALIGN="bottom"
 ><A
 ALIGN="left"
 VALIGN="bottom"
 ><A
-HREF="configuration.html"
+HREF="templates.html"
 >Prev</A
 ></TD
 ><TD
 >Prev</A
 ></TD
 ><TD
@@ -72,7 +72,7 @@ CLASS="SECT1"
 CLASS="SECT1"
 ><A
 NAME="CONTACT"
 CLASS="SECT1"
 ><A
 NAME="CONTACT"
->8. Contacting the Developers, Bug Reporting and Feature
+>12. Contacting the Developers, Bug Reporting and Feature
 Requests</A
 ></H1
 ><P
 Requests</A
 ></H1
 ><P
@@ -84,7 +84,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-SUPPORT"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-SUPPORT"
->8.1. Get Support</A
+>12.1. Get Support</A
 ></H2
 ><P
 >   <P
 ></H2
 ><P
 >   <P
@@ -95,8 +95,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=211118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=211118</A
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=211118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=211118</A
-><br>
-&nbsp;&nbsp;&nbsp;</P
+></P
 >
   </P
 ></DIV
 >
   </P
 ></DIV
@@ -106,7 +105,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-BUGS"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-BUGS"
->8.2. Report bugs</A
+>12.2. Report bugs</A
 ></H2
 ><P
 >   <P
 ></H2
 ><P
 >   <P
@@ -117,8 +116,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=111118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=111118</A
 HREF="http://sourceforge.net/tracker/?group_id=11118&atid=111118"
 TARGET="_top"
 >http://sourceforge.net/tracker/?group_id=11118&#38;atid=111118</A
->.&nbsp;<br>
-&nbsp;&nbsp;&nbsp;&nbsp;</P
+>.&nbsp;</P
 >
  </P
 ><P
 >
  </P
 ><P
@@ -145,7 +143,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-FEATURE"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-FEATURE"
->8.3. Request new features</A
+>12.3. Request new features</A
 ></H2
 ><P
 >   <P
 ></H2
 ><P
 >   <P
@@ -156,8 +154,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse"
 TARGET="_top"
 >http://sourceforge.net/tracker/?atid=361118&#38;group_id=11118&#38;func=browse</A
 HREF="http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse"
 TARGET="_top"
 >http://sourceforge.net/tracker/?atid=361118&#38;group_id=11118&#38;func=browse</A
->.<br>
-&nbsp;&nbsp;&nbsp;</P
+>.</P
 >
   </P
 ></DIV
 >
   </P
 ></DIV
@@ -167,7 +164,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-ADS"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-ADS"
->8.4. Report ads or other filter problems</A
+>12.4. Report ads or other filter problems</A
 ></H2
 ><P
 >You can also send feedback on websites that Privoxy has problems with. Please bookmark
 ></H2
 ><P
 >You can also send feedback on websites that Privoxy has problems with. Please bookmark
@@ -199,7 +196,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-OTHER"
 CLASS="SECT2"
 ><A
 NAME="CONTACT-OTHER"
->8.5. Other</A
+>12.5. Other</A
 ></H2
 ><P
 >   <P
 ></H2
 ><P
 >   <P
@@ -210,8 +207,7 @@ CLASS="LITERALLAYOUT"
 HREF="http://sourceforge.net/mail/?group_id=11118"
 TARGET="_top"
 >http://sourceforge.net/mail/?group_id=11118</A
 HREF="http://sourceforge.net/mail/?group_id=11118"
 TARGET="_top"
 >http://sourceforge.net/mail/?group_id=11118</A
->.<br>
-&nbsp;</P
+>.</P
 >
  </P
 ><P
 >
  </P
 ><P
@@ -236,7 +232,7 @@ WIDTH="33%"
 ALIGN="left"
 VALIGN="top"
 ><A
 ALIGN="left"
 VALIGN="top"
 ><A
-HREF="configuration.html"
+HREF="templates.html"
 >Prev</A
 ></TD
 ><TD
 >Prev</A
 ></TD
 ><TD
@@ -261,10 +257,7 @@ HREF="copyright.html"
 WIDTH="33%"
 ALIGN="left"
 VALIGN="top"
 WIDTH="33%"
 ALIGN="left"
 VALIGN="top"
-><SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> Configuration</TD
+>Templates</TD
 ><TD
 WIDTH="34%"
 ALIGN="center"
 ><TD
 WIDTH="34%"
 ALIGN="center"
index 9df318e..32696ae 100644 (file)
@@ -72,15 +72,15 @@ CLASS="SECT1"
 CLASS="SECT1"
 ><A
 NAME="COPYRIGHT"
 CLASS="SECT1"
 ><A
 NAME="COPYRIGHT"
->9. Copyright and History</A
+>13. Copyright and History</A
 ></H1
 ><DIV
 CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
 ></H1
 ><DIV
 CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN2320"
->9.1. Copyright</A
+NAME="AEN2400"
+>13.1. Copyright</A
 ></H2
 ><P
 > <SPAN
 ></H2
 ><P
 > <SPAN
@@ -114,7 +114,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="HISTORY"
 CLASS="SECT2"
 ><A
 NAME="HISTORY"
->9.2. History</A
+>13.2. History</A
 ></H2
 ><P
 > <SPAN
 ></H2
 ><P
 > <SPAN
diff --git a/doc/webserver/user-manual/filter-file.html b/doc/webserver/user-manual/filter-file.html
new file mode 100644 (file)
index 0000000..1094ad7
--- /dev/null
@@ -0,0 +1,293 @@
+<HTML
+><HEAD
+><TITLE
+>The Filter File</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
+"><LINK
+REL="HOME"
+TITLE="Privoxy User Manual"
+HREF="index.html"><LINK
+REL="PREVIOUS"
+TITLE="Actions Files"
+HREF="actions-file.html"><LINK
+REL="NEXT"
+TITLE="Templates"
+HREF="templates.html"><LINK
+REL="STYLESHEET"
+TYPE="text/css"
+HREF="../p_doc.css"></HEAD
+><BODY
+CLASS="SECT1"
+BGCOLOR="#EEEEEE"
+TEXT="#000000"
+LINK="#0000FF"
+VLINK="#840084"
+ALINK="#0000FF"
+><DIV
+CLASS="NAVHEADER"
+><TABLE
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TH
+COLSPAN="3"
+ALIGN="center"
+>Privoxy User Manual</TH
+></TR
+><TR
+><TD
+WIDTH="10%"
+ALIGN="left"
+VALIGN="bottom"
+><A
+HREF="actions-file.html"
+>Prev</A
+></TD
+><TD
+WIDTH="80%"
+ALIGN="center"
+VALIGN="bottom"
+></TD
+><TD
+WIDTH="10%"
+ALIGN="right"
+VALIGN="bottom"
+><A
+HREF="templates.html"
+>Next</A
+></TD
+></TR
+></TABLE
+><HR
+ALIGN="LEFT"
+WIDTH="100%"></DIV
+><DIV
+CLASS="SECT1"
+><H1
+CLASS="SECT1"
+><A
+NAME="FILTER-FILE"
+>10. The Filter File</A
+></H1
+><P
+> Any web page can be dynamically modified with the filter file. This
+ modification can be removal, or re-writing, of any web page content,
+ including tags and non-visible content. The default filter file is
+ oddly enough <TT
+CLASS="FILENAME"
+>default.filter</TT
+>, located in the config
+ directory. </P
+><P
+> This is potentially a very powerful feature, and requires knowledge of both 
+ <SPAN
+CLASS="QUOTE"
+>"regular expression"</SPAN
+> and HTML in order create custom 
+ filters. But, there are a number of useful filters included with 
+ <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> for many common situations.</P
+><P
+> The included example file is divided into sections. Each section begins 
+ with the <TT
+CLASS="LITERAL"
+>FILTER</TT
+> keyword, followed by the identifier 
+ for that section, e.g. <SPAN
+CLASS="QUOTE"
+>"FILTER: webbugs"</SPAN
+>. Each section performs
+ a similar type of filtering, such as <SPAN
+CLASS="QUOTE"
+>"html-annoyances"</SPAN
+>.</P
+><P
+> This file uses regular expressions to alter or remove any string in the
+ target page. The expressions can only operate on one line at a time. Some
+ examples from the included default <TT
+CLASS="FILENAME"
+>default.filter</TT
+>:</P
+><P
+> Stop web pages from displaying annoying messages in the status bar by
+ deleting such references:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;FILTER:&nbsp;html-annoyances<br>
+<br>
+&nbsp;#&nbsp;New&nbsp;browser&nbsp;windows&nbsp;should&nbsp;be&nbsp;resizeable&nbsp;and&nbsp;have&nbsp;a&nbsp;location&nbsp;and&nbsp;status<br>
+&nbsp;#&nbsp;bar.&nbsp;Make&nbsp;it&nbsp;so.<br>
+&nbsp;#<br>
+&nbsp;s/resizable="?(no|0)"?/resizable=1/ig&nbsp;s/noresize/yesresize/ig<br>
+&nbsp;s/location="?(no|0)"?/location=1/ig&nbsp;s/status="?(no|0)"?/status=1/ig<br>
+&nbsp;s/scrolling="?(no|0|Auto)"?/scrolling=1/ig<br>
+&nbsp;s/menubar="?(no|0)"?/menubar=1/ig&nbsp;<br>
+<br>
+&nbsp;#&nbsp;The&nbsp;&#60;BLINK&#62;&nbsp;tag&nbsp;was&nbsp;a&nbsp;crime!<br>
+&nbsp;#<br>
+&nbsp;s*&#60;blink&#62;|&#60;/blink&#62;**ig<br>
+<br>
+&nbsp;#&nbsp;Is&nbsp;this&nbsp;evil?&nbsp;<br>
+&nbsp;#<br>
+&nbsp;#s/framespacing="?(no|0)"?//ig<br>
+&nbsp;#s/margin(height|width)=[0-9]*//gi<br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><P
+> Just for kicks, replace any occurrence of <SPAN
+CLASS="QUOTE"
+>"Microsoft"</SPAN
+> with
+ <SPAN
+CLASS="QUOTE"
+>"MicroSuck"</SPAN
+>, and have a little fun with topical buzzwords: </P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;FILTER:&nbsp;fun<br>
+<br>
+&nbsp;s/microsoft(?!.com)/MicroSuck/ig<br>
+<br>
+&nbsp;#&nbsp;Buzzword&nbsp;Bingo:<br>
+&nbsp;#<br>
+&nbsp;s/industry-leading|cutting-edge|award-winning/&#60;font&nbsp;color=red&#62;&#60;b&#62;BINGO!&#60;/b&#62;&#60;/font&#62;/ig<br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><P
+> Kill those pesky little web-bugs:</P
+><P
+> <TT
+CLASS="LITERAL"
+>  <P
+CLASS="LITERALLAYOUT"
+>&nbsp;#&nbsp;webbugs:&nbsp;Squish&nbsp;WebBugs&nbsp;(1x1&nbsp;invisible&nbsp;GIFs&nbsp;used&nbsp;for&nbsp;user&nbsp;tracking)<br>
+&nbsp;FILTER:&nbsp;webbugs<br>
+<br>
+&nbsp;s/&#60;img\s+[^&#62;]*?(width|height)\s*=\s*['"]?1\D[^&#62;]*?(width|height)\s*=\s*['"]?1(\D[^&#62;]*?)?&#62;/&#60;!--&nbsp;Squished&nbsp;WebBug&nbsp;--&#62;/sig<br>
+&nbsp;&nbsp;&nbsp;</P
+> 
+ </TT
+></P
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="AEN2339"
+>10.1. The <I
+CLASS="EMPHASIS"
+>+filter</I
+> Action</A
+></H2
+><P
+> Filters are enabled with the <A
+HREF="actions-file.html#FILTER"
+TARGET="_top"
+><SPAN
+CLASS="QUOTE"
+>"+filter"</SPAN
+></A
+> action from within 
+ one of the actions files. <SPAN
+CLASS="QUOTE"
+>"+filter"</SPAN
+> requires one parameter, which 
+ should match one of the section identifiers in the filter file itself. Example:</P
+><TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>  +filter{html-annoyances}</PRE
+></TD
+></TR
+></TABLE
+><P
+> This would activate that particular filter. Similarly, <SPAN
+CLASS="QUOTE"
+>"+filter"</SPAN
+>
+ can be turned off for selected sites as:
+ <SPAN
+CLASS="QUOTE"
+>"-filter{html-annoyances}"</SPAN
+>. Remember too, all actions are off by
+ default, unless they are explicity enabled in one of the actions files.</P
+></DIV
+></DIV
+><DIV
+CLASS="NAVFOOTER"
+><HR
+ALIGN="LEFT"
+WIDTH="100%"><TABLE
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+><A
+HREF="actions-file.html"
+>Prev</A
+></TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+><A
+HREF="index.html"
+>Home</A
+></TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+><A
+HREF="templates.html"
+>Next</A
+></TD
+></TR
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+>Actions Files</TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+>&nbsp;</TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+>Templates</TD
+></TR
+></TABLE
+></DIV
+></BODY
+></HTML
+>
\ No newline at end of file
index b52ec30..d9afd90 100644 (file)
@@ -49,7 +49,7 @@ CLASS="ORGNAME"
 ></DIV
 ><P
 CLASS="PUBDATE"
 ></DIV
 ><P
 CLASS="PUBDATE"
->$Id: user-manual.sgml,v 1.95 2002/04/26 17:23:29 swa Exp $<BR></P
+>$Id: user-manual.sgml,v 1.99 2002/04/28 16:59:05 swa Exp $<BR></P
 ><DIV
 ><DIV
 CLASS="ABSTRACT"
 ><DIV
 ><DIV
 CLASS="ABSTRACT"
@@ -208,6 +208,41 @@ CLASS="APPLICATION"
 ><DL
 ><DT
 >6.1. <A
 ><DL
 ><DT
 >6.1. <A
+HREF="startup.html#START-REDHATDEBIAN"
+>RedHat and Debian</A
+></DT
+><DT
+>6.2. <A
+HREF="startup.html#START-SUSE"
+>SuSE</A
+></DT
+><DT
+>6.3. <A
+HREF="startup.html#START-WINDOWS"
+>Windows</A
+></DT
+><DT
+>6.4. <A
+HREF="startup.html#START-UNICES"
+>Solaris, NetBSD, FreeBSD, HP-UX and others</A
+></DT
+><DT
+>6.5. <A
+HREF="startup.html#START-OS2"
+>OS/2</A
+></DT
+><DT
+>6.6. <A
+HREF="startup.html#START-MACOSX"
+>MAX OSX</A
+></DT
+><DT
+>6.7. <A
+HREF="startup.html#START-AMIGAOS"
+>AmigaOS</A
+></DT
+><DT
+>6.8. <A
 HREF="startup.html#CMDOPTIONS"
 >Command Line Options</A
 ></DT
 HREF="startup.html#CMDOPTIONS"
 >Command Line Options</A
 ></DT
@@ -225,7 +260,7 @@ CLASS="APPLICATION"
 ><DL
 ><DT
 >7.1. <A
 ><DL
 ><DT
 >7.1. <A
-HREF="configuration.html#AEN320"
+HREF="configuration.html#AEN305"
 >Controlling <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >Controlling <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
@@ -236,98 +271,431 @@ CLASS="APPLICATION"
 HREF="configuration.html#CONFOVERVIEW"
 >Configuration Files Overview</A
 ></DT
 HREF="configuration.html#CONFOVERVIEW"
 >Configuration Files Overview</A
 ></DT
+></DL
+></DD
 ><DT
 ><DT
->7.3. <A
-HREF="configuration.html#CONFIG"
+>8. <A
+HREF="config.html"
 >The Main Configuration File</A
 ></DT
 ><DD
 ><DL
 ><DT
 >The Main Configuration File</A
 ></DT
 ><DD
 ><DL
 ><DT
->7.3.1. <A
-HREF="configuration.html#CONF-LOG-LOC"
+>8.1. <A
+HREF="config.html#CONF-LOG-LOC"
 >Configuration and Log File Locations</A
 ></DT
 >Configuration and Log File Locations</A
 ></DT
+><DD
+><DL
 ><DT
 ><DT
->7.3.2. <A
-HREF="configuration.html#LOCAL-SET-UP"
+>8.1.1. <A
+HREF="config.html#CONFDIR"
+>confdir</A
+></DT
+><DT
+>8.1.2. <A
+HREF="config.html#LOGDIR"
+>logdir</A
+></DT
+><DT
+>8.1.3. <A
+HREF="config.html#ACTIONSFILE"
+>actionsfile</A
+></DT
+><DT
+>8.1.4. <A
+HREF="config.html#FILTERFILE"
+>filterfile</A
+></DT
+><DT
+>8.1.5. <A
+HREF="config.html#LOGFILE"
+>logfile</A
+></DT
+><DT
+>8.1.6. <A
+HREF="config.html#JARFILE"
+>jarfile</A
+></DT
+><DT
+>8.1.7. <A
+HREF="config.html#TRUSTFILE"
+>trustfile</A
+></DT
+><DT
+>8.1.8. <A
+HREF="config.html#USER-MANUAL"
+>user-manual</A
+></DT
+></DL
+></DD
+><DT
+>8.2. <A
+HREF="config.html#LOCAL-SET-UP"
 >Local Set-up Documentation</A
 ></DT
 >Local Set-up Documentation</A
 ></DT
+><DD
+><DL
+><DT
+>8.2.1. <A
+HREF="config.html#TRUST-INFO-URL"
+>trust-info-url</A
+></DT
+><DT
+>8.2.2. <A
+HREF="config.html#ADMIN-ADDRESS"
+>admin-address</A
+></DT
+><DT
+>8.2.3. <A
+HREF="config.html#PROXY-INFO-URL"
+>proxy-info-url</A
+></DT
+></DL
+></DD
 ><DT
 ><DT
->7.3.3. <A
-HREF="configuration.html#DEBUGGING"
+>8.3. <A
+HREF="config.html#DEBUGGING"
 >Debugging</A
 ></DT
 >Debugging</A
 ></DT
+><DD
+><DL
+><DT
+>8.3.1. <A
+HREF="config.html#DEBUG"
+>debug</A
+></DT
+><DT
+>8.3.2. <A
+HREF="config.html#SINGLE-THREADED"
+>single-threaded</A
+></DT
+></DL
+></DD
 ><DT
 ><DT
->7.3.4. <A
-HREF="configuration.html#ACCESS-CONTROL"
+>8.4. <A
+HREF="config.html#ACCESS-CONTROL"
 >Access Control and Security</A
 ></DT
 >Access Control and Security</A
 ></DT
+><DD
+><DL
+><DT
+>8.4.1. <A
+HREF="config.html#LISTEN-ADDRESS"
+>listen-address</A
+></DT
+><DT
+>8.4.2. <A
+HREF="config.html#TOGGLE"
+>toggle</A
+></DT
 ><DT
 ><DT
->7.3.5. <A
-HREF="configuration.html#FORWARDING"
+>8.4.3. <A
+HREF="config.html#ENABLE-REMOTE-TOGGLE"
+>enable-remote-toggle</A
+></DT
+><DT
+>8.4.4. <A
+HREF="config.html#ENABLE-EDIT-ACTIONS"
+>enable-edit-actions</A
+></DT
+><DT
+>8.4.5. <A
+HREF="config.html#ACLS"
+>ACLs: permit-access and deny-access</A
+></DT
+><DT
+>8.4.6. <A
+HREF="config.html#BUFFER-LIMIT"
+>buffer-limit</A
+></DT
+></DL
+></DD
+><DT
+>8.5. <A
+HREF="config.html#FORWARDING"
 >Forwarding</A
 ></DT
 >Forwarding</A
 ></DT
+><DD
+><DL
+><DT
+>8.5.1. <A
+HREF="config.html#FORWARD"
+>forward</A
+></DT
 ><DT
 ><DT
->7.3.6. <A
-HREF="configuration.html#WINDOWS-GUI"
+>8.5.2. <A
+HREF="config.html#SOCKS"
+>forward-socks4 and forward-socks4a</A
+></DT
+><DT
+>8.5.3. <A
+HREF="config.html#ADVANCED-FORWARDING-EXAMPLES"
+>Advanced Forwarding Examples</A
+></DT
+></DL
+></DD
+><DT
+>8.6. <A
+HREF="config.html#WINDOWS-GUI"
 >Windows GUI Options</A
 ></DT
 ></DL
 ></DD
 ><DT
 >Windows GUI Options</A
 ></DT
 ></DL
 ></DD
 ><DT
->7.4. <A
-HREF="configuration.html#ACTIONS-FILE"
+>9. <A
+HREF="actions-file.html"
 >Actions Files</A
 ></DT
 ><DD
 ><DL
 ><DT
 >Actions Files</A
 ></DT
 ><DD
 ><DL
 ><DT
->7.4.1. <A
-HREF="configuration.html#AEN1285"
+>9.1. <A
+HREF="actions-file.html#AEN1299"
 >Finding the Right Mix</A
 ></DT
 ><DT
 >Finding the Right Mix</A
 ></DT
 ><DT
->7.4.2. <A
-HREF="configuration.html#AEN1292"
+>9.2. <A
+HREF="actions-file.html#AEN1306"
 >How to Edit</A
 ></DT
 ><DT
 >How to Edit</A
 ></DT
 ><DT
->7.4.3. <A
-HREF="configuration.html#AEN1298"
+>9.3. <A
+HREF="actions-file.html#AEN1312"
 >How Actions are Applied to URLs</A
 ></DT
 ><DT
 >How Actions are Applied to URLs</A
 ></DT
 ><DT
->7.4.4. <A
-HREF="configuration.html#AEN1312"
+>9.4. <A
+HREF="actions-file.html#AEN1326"
 >Patterns</A
 ></DT
 >Patterns</A
 ></DT
+><DD
+><DL
+><DT
+>9.4.1. <A
+HREF="actions-file.html#AEN1366"
+>The Domain Pattern</A
+></DT
+><DT
+>9.4.2. <A
+HREF="actions-file.html#AEN1428"
+>The Path Pattern</A
+></DT
+></DL
+></DD
 ><DT
 ><DT
->7.4.5. <A
-HREF="configuration.html#ACTIONS"
+>9.5. <A
+HREF="actions-file.html#ACTIONS"
 >Actions</A
 ></DT
 >Actions</A
 ></DT
+><DD
+><DL
+><DT
+>9.5.1. <A
+HREF="actions-file.html#ADD-HEADER"
+><I
+CLASS="EMPHASIS"
+>+add-header</I
+></A
+></DT
+><DT
+>9.5.2. <A
+HREF="actions-file.html#BLOCK"
+><I
+CLASS="EMPHASIS"
+>+block</I
+></A
+></DT
+><DT
+>9.5.3. <A
+HREF="actions-file.html#DEANIMATE-GIFS"
+><I
+CLASS="EMPHASIS"
+>+deanimate-gifs</I
+></A
+></DT
+><DT
+>9.5.4. <A
+HREF="actions-file.html#DOWNGRADE-HTTP-VERSION"
+><I
+CLASS="EMPHASIS"
+>+downgrade-http-version</I
+></A
+></DT
+><DT
+>9.5.5. <A
+HREF="actions-file.html#FAST-REDIRECTS"
+><I
+CLASS="EMPHASIS"
+>+fast-redirects</I
+></A
+></DT
+><DT
+>9.5.6. <A
+HREF="actions-file.html#FILTER"
+><I
+CLASS="EMPHASIS"
+>+filter</I
+></A
+></DT
+><DT
+>9.5.7. <A
+HREF="actions-file.html#HIDE-FORWARDED-FOR-HEADERS"
+><I
+CLASS="EMPHASIS"
+>+hide-forwarded-for-headers</I
+></A
+></DT
+><DT
+>9.5.8. <A
+HREF="actions-file.html#HIDE-FROM-HEADER"
+><I
+CLASS="EMPHASIS"
+>+hide-from-header</I
+></A
+></DT
+><DT
+>9.5.9. <A
+HREF="actions-file.html#HIDE-REFERER"
+><I
+CLASS="EMPHASIS"
+>+hide-referer</I
+></A
+></DT
+><DT
+>9.5.10. <A
+HREF="actions-file.html#HIDE-USER-AGENT"
+><I
+CLASS="EMPHASIS"
+>+hide-user-agent</I
+></A
+></DT
+><DT
+>9.5.11. <A
+HREF="actions-file.html#HANDLE-AS-IMAGE"
+><I
+CLASS="EMPHASIS"
+>+handle-as-image</I
+></A
+></DT
+><DT
+>9.5.12. <A
+HREF="actions-file.html#SET-IMAGE-BLOCKER"
+><I
+CLASS="EMPHASIS"
+>+set-image-blocker</I
+></A
+></DT
+><DT
+>9.5.13. <A
+HREF="actions-file.html#LIMIT-CONNECT"
+><I
+CLASS="EMPHASIS"
+>+limit-connect</I
+></A
+></DT
 ><DT
 ><DT
->7.4.6. <A
-HREF="configuration.html#ALIASES"
+>9.5.14. <A
+HREF="actions-file.html#PREVENT-COMPRESSION"
+><I
+CLASS="EMPHASIS"
+>+prevent-compression</I
+></A
+></DT
+><DT
+>9.5.15. <A
+HREF="actions-file.html#SESSION-COOKIES-ONLY"
+><I
+CLASS="EMPHASIS"
+>+session-cookies-only</I
+></A
+></DT
+><DT
+>9.5.16. <A
+HREF="actions-file.html#PREVENT-READING-COOKIES"
+><I
+CLASS="EMPHASIS"
+>+prevent-reading-cookies</I
+></A
+></DT
+><DT
+>9.5.17. <A
+HREF="actions-file.html#PREVENT-SETTING-COOKIES"
+><I
+CLASS="EMPHASIS"
+>+prevent-setting-cookies</I
+></A
+></DT
+><DT
+>9.5.18. <A
+HREF="actions-file.html#KILL-POPUP"
+><I
+CLASS="EMPHASIS"
+>+kill-popups<A
+NAME="KILL-POPUPS"
+></A
+></I
+></A
+></DT
+><DT
+>9.5.19. <A
+HREF="actions-file.html#SEND-VANILLA-WAFER"
+><I
+CLASS="EMPHASIS"
+>+send-vanilla-wafer</I
+></A
+></DT
+><DT
+>9.5.20. <A
+HREF="actions-file.html#SEND-WAFER"
+><I
+CLASS="EMPHASIS"
+>+send-wafer</I
+></A
+></DT
+><DT
+>9.5.21. <A
+HREF="actions-file.html#AEN2196"
+>Summary</A
+></DT
+><DT
+>9.5.22. <A
+HREF="actions-file.html#ACT-EXAMPLES"
+>Sample Actions Files</A
+></DT
+></DL
+></DD
+><DT
+>9.6. <A
+HREF="actions-file.html#ALIASES"
 >Aliases</A
 ></DT
 ></DL
 ></DD
 ><DT
 >Aliases</A
 ></DT
 ></DL
 ></DD
 ><DT
->7.5. <A
-HREF="configuration.html#FILTER-FILE"
+>10. <A
+HREF="filter-file.html"
 >The Filter File</A
 ></DT
 >The Filter File</A
 ></DT
+><DD
+><DL
 ><DT
 ><DT
->7.6. <A
-HREF="configuration.html#AEN2273"
->Templates</A
+>10.1. <A
+HREF="filter-file.html#AEN2339"
+>The <I
+CLASS="EMPHASIS"
+>+filter</I
+> Action</A
 ></DT
 ></DL
 ></DD
 ><DT
 ></DT
 ></DL
 ></DD
 ><DT
->8. <A
+>11. <A
+HREF="templates.html"
+>Templates</A
+></DT
+><DT
+>12. <A
 HREF="contact.html"
 >Contacting the Developers, Bug Reporting and Feature
 Requests</A
 HREF="contact.html"
 >Contacting the Developers, Bug Reporting and Feature
 Requests</A
@@ -335,71 +703,71 @@ Requests</A
 ><DD
 ><DL
 ><DT
 ><DD
 ><DL
 ><DT
->8.1. <A
+>12.1. <A
 HREF="contact.html#CONTACT-SUPPORT"
 >Get Support</A
 ></DT
 ><DT
 HREF="contact.html#CONTACT-SUPPORT"
 >Get Support</A
 ></DT
 ><DT
->8.2. <A
+>12.2. <A
 HREF="contact.html#CONTACT-BUGS"
 >Report bugs</A
 ></DT
 ><DT
 HREF="contact.html#CONTACT-BUGS"
 >Report bugs</A
 ></DT
 ><DT
->8.3. <A
+>12.3. <A
 HREF="contact.html#CONTACT-FEATURE"
 >Request new features</A
 ></DT
 ><DT
 HREF="contact.html#CONTACT-FEATURE"
 >Request new features</A
 ></DT
 ><DT
->8.4. <A
+>12.4. <A
 HREF="contact.html#CONTACT-ADS"
 >Report ads or other filter problems</A
 ></DT
 ><DT
 HREF="contact.html#CONTACT-ADS"
 >Report ads or other filter problems</A
 ></DT
 ><DT
->8.5. <A
+>12.5. <A
 HREF="contact.html#CONTACT-OTHER"
 >Other</A
 ></DT
 ></DL
 ></DD
 ><DT
 HREF="contact.html#CONTACT-OTHER"
 >Other</A
 ></DT
 ></DL
 ></DD
 ><DT
->9. <A
+>13. <A
 HREF="copyright.html"
 >Copyright and History</A
 ></DT
 ><DD
 ><DL
 ><DT
 HREF="copyright.html"
 >Copyright and History</A
 ></DT
 ><DD
 ><DL
 ><DT
->9.1. <A
-HREF="copyright.html#AEN2320"
+>13.1. <A
+HREF="copyright.html#AEN2400"
 >Copyright</A
 ></DT
 ><DT
 >Copyright</A
 ></DT
 ><DT
->9.2. <A
+>13.2. <A
 HREF="copyright.html#HISTORY"
 >History</A
 ></DT
 ></DL
 ></DD
 ><DT
 HREF="copyright.html#HISTORY"
 >History</A
 ></DT
 ></DL
 ></DD
 ><DT
->10. <A
+>14. <A
 HREF="seealso.html"
 >See Also</A
 ></DT
 ><DT
 HREF="seealso.html"
 >See Also</A
 ></DT
 ><DT
->11. <A
+>15. <A
 HREF="appendix.html"
 >Appendix</A
 ></DT
 ><DD
 ><DL
 ><DT
 HREF="appendix.html"
 >Appendix</A
 ></DT
 ><DD
 ><DL
 ><DT
->11.1. <A
+>15.1. <A
 HREF="appendix.html#REGEX"
 >Regular Expressions</A
 ></DT
 ><DT
 HREF="appendix.html#REGEX"
 >Regular Expressions</A
 ></DT
 ><DT
->11.2. <A
-HREF="appendix.html#AEN2545"
+>15.2. <A
+HREF="appendix.html#AEN2625"
 ><SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 ><SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
@@ -408,19 +776,19 @@ CLASS="APPLICATION"
 ><DD
 ><DL
 ><DT
 ><DD
 ><DL
 ><DT
->11.2.1. <A
+>15.2.1. <A
 HREF="appendix.html#BOOKMARKLETS"
 >Bookmarklets</A
 ></DT
 ></DL
 ></DD
 ><DT
 HREF="appendix.html#BOOKMARKLETS"
 >Bookmarklets</A
 ></DT
 ></DL
 ></DD
 ><DT
->11.3. <A
+>15.3. <A
 HREF="appendix.html#CHAIN"
 >Chain of Events</A
 ></DT
 ><DT
 HREF="appendix.html#CHAIN"
 >Chain of Events</A
 ></DT
 ><DT
->11.4. <A
+>15.4. <A
 HREF="appendix.html#ACTIONSANAT"
 >Anatomy of an Action</A
 ></DT
 HREF="appendix.html#ACTIONSANAT"
 >Anatomy of an Action</A
 ></DT
index 852aa83..7c983c7 100644 (file)
@@ -71,7 +71,7 @@ CLASS="SECT1"
 CLASS="SECT1"
 ><A
 NAME="SEEALSO"
 CLASS="SECT1"
 ><A
 NAME="SEEALSO"
->10. See Also</A
+>14. See Also</A
 ></H1
 ><P
 > Other references and sites of interest to <SPAN
 ></H1
 ><P
 > Other references and sites of interest to <SPAN
@@ -176,10 +176,9 @@ HREF="javascript:w=Math.floor(screen.width/2);h=Math.floor(screen.height*0.9);vo
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
->"actions file feedback system"</SPAN
+>"Privoxy - Submit Filter Feedback"</SPAN
 ></A
 ></A
->  
-   to submit <SPAN
+> to submit <SPAN
 CLASS="QUOTE"
 >"misses"</SPAN
 > to the developers. 
 CLASS="QUOTE"
 >"misses"</SPAN
 > to the developers. 
index 96baff2..1fe9cc0 100644 (file)
@@ -80,14 +80,14 @@ CLASS="APPLICATION"
 > Before launching <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > Before launching <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
-> for the first time, you 
- will want to configure your browser(s) to use <SPAN
+> for the first time, you
+ will want to configure your browser(s) to use
+ <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
->
- as a HTTP and HTTPS proxy. The default is localhost for the proxy address,
- and port 8118 (earlier versions used port 8000). This is the one
- configuration step that must be done! </P
+> as a HTTP and HTTPS proxy. The default is
+ localhost for the proxy address, and port 8118 (earlier versions used port
+ 8000). This is the one configuration step that must be done!</P
 ><P
 > 
  With <SPAN
 ><P
 > 
  With <SPAN
@@ -128,8 +128,34 @@ CLASS="APPLICATION"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > is typically started by specifying the
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > is typically started by specifying the
- main configuration file to be used on the command line. Example Unix startup
- command:</P
+ main configuration file to be used on the command line. If no configuration
+ file is specified on the command line, <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+ will look for a file named <TT
+CLASS="FILENAME"
+>config</TT
+> in the current
+ directory. Except on Win32 where it will try <TT
+CLASS="FILENAME"
+>config.txt</TT
+>.</P
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="START-REDHATDEBIAN"
+>6.1. RedHat and Debian</A
+></H2
+><P
+>We use a script. Note that RedHat does not start Privoxy upon booting per
+default. It will use the file <TT
+CLASS="FILENAME"
+>/etc/privoxy/config</TT
+> as its
+main configuration file. FIXME: Debian??</P
 ><P
 > <TABLE
 BORDER="0"
 ><P
 > <TABLE
 BORDER="0"
@@ -139,212 +165,127 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="SCREEN"
 ><TD
 ><PRE
 CLASS="SCREEN"
-> 
- # /usr/sbin/privoxy /etc/privoxy/config</PRE
+> # /etc/rc.d/init.d/privoxy start</PRE
 ></TD
 ></TR
 ></TABLE
 ></P
 ></TD
 ></TR
 ></TABLE
 ></P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="START-SUSE"
+>6.2. SuSE</A
+></H2
 ><P
 ><P
-> See <A
-HREF="startup.html#CMDOPTIONS"
->below</A
-> for other command line options.</P
-><P
-> An init script is provided for SuSE and Red Hat.</P
-><P
-> For for SuSE: <B
-CLASS="COMMAND"
->rcprivoxy start</B
-></P
+>We use a script. It will use the file <TT
+CLASS="FILENAME"
+>/etc/privoxy/config</TT
+>
+as its main configuration file. Note that SuSE starts Privoxy upon booting
+your PC.</P
 ><P
 ><P
-> For Red Hat and Debian: <B
-CLASS="COMMAND"
->/etc/rc.d/init.d/privoxy start</B
+> <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+> # rcprivoxy start</PRE
+></TD
+></TR
+></TABLE
 ></P
 ></P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="START-WINDOWS"
+>6.3. Windows</A
+></H2
 ><P
 ><P
-> If no configuration file is specified on the command line,
- <SPAN
+>Click on the Privoxy Icon to start Privoxy. If no configuration file is
specified on the command line, <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
-> will look for a file named
- <TT
-CLASS="FILENAME"
->config</TT
-> in the current directory. Except on Win32 where
- it will try <TT
+> will look
+ for a file named <TT
 CLASS="FILENAME"
 >config.txt</TT
 CLASS="FILENAME"
 >config.txt</TT
->. If no file is specified on the
- command line and no default configuration file can be found, 
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> will fail to start.</P
-><P
-> The included default configuration files should give a reasonable starting
- point. Most of the per site configuration is done in the
- <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
-> files. These are where various cookie actions are
- defined, ad and banner blocking, and other aspects of
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> configuration. There are several such
- files included, with varying levels of aggressiveness. </P
-><P
-> You will probably want to keep an eye out for sites for which you may prefer
- persistent cookies, and add these to your actions configuration as needed. By
- default, most of these will be accepted only during the current browser
- session (aka <SPAN
-CLASS="QUOTE"
->"session cookies"</SPAN
->), unless you add them to the
- configuration. If you want the browser to handle this instead, you will need
- to edit <TT
-CLASS="FILENAME"
->user.action</TT
-> (or through the web based interface)
- and disable this feature. If you use more than one browser, it would make
- more sense to let <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> handle this. In which
- case, the browser(s) should be set to accept all cookies.</P
-><P
-> Another feature where you will probably want to define exceptions for trusted
- sites is the popup-killing (through the <TT
-CLASS="LITERAL"
->+popup</TT
-> and
- <TT
-CLASS="LITERAL"
->+filter{popups}</TT
-> actions), because your favorite shopping,
- banking, or leisure site may need popups (explained below). </P
-><P
-> <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> is HTTP/1.1 compliant,  but not all of
- the optional 1.1 features are as yet supported. In the unlikely event that
- you experience inexplicable problems with browsers that use HTTP/1.1 per default
- (like <SPAN
-CLASS="APPLICATION"
->Mozilla</SPAN
-> or recent versions of I.E.), you might
- try to force HTTP/1.0 compatibility. For Mozilla, look under <TT
-CLASS="LITERAL"
->Edit -&#62;
- Preferences -&#62; Debug -&#62; Networking</TT
->.
- Alternatively, set the <SPAN
-CLASS="QUOTE"
->"+downgrade-http-version"</SPAN
-> config option in
- <TT
-CLASS="FILENAME"
->default.action</TT
-> which will downgrade your browser's HTTP
- requests from HTTP/1.1 to HTTP/1.0 before processing them.</P
+>. Note that Windows will
+ automatically start Privoxy upon booting you PC.</P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="START-UNICES"
+>6.4. Solaris, NetBSD, FreeBSD, HP-UX and others</A
+></H2
 ><P
 ><P
-> After running <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> for a while, you can 
- start to fine tune the configuration to suit your personal, or site, 
- preferences and requirements. There are many, many aspects that can 
- be customized. <SPAN
-CLASS="QUOTE"
->"Actions"</SPAN
-> 
- can be adjusted by pointing your browser to 
- <A
-HREF="http://config.privoxy.org/"
-TARGET="_top"
->http://config.privoxy.org/</A
->
- (shortcut: <A
-HREF="http://p.p/"
-TARGET="_top"
->http://p.p/</A
->), 
- and then follow the link to <SPAN
-CLASS="QUOTE"
->"View &#38; Change the Current Configuration"</SPAN
->. 
- (This is an internal page and does not require Internet access.)</P
+>Example Unix startup command:</P
 ><P
 ><P
-> In fact, various aspects of <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
- configuration can be viewed from this page, including 
- current configuration parameters, source code version numbers, 
- the browser's request headers, and <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
-> that apply 
- to a given URL. In addition to the actions file 
- editor mentioned above, <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> can also 
- be turned <SPAN
-CLASS="QUOTE"
->"on"</SPAN
-> and <SPAN
-CLASS="QUOTE"
->"off"</SPAN
-> (toggled) from this page.</P
+> <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+> # /usr/sbin/privoxy /etc/privoxy/config</PRE
+></TD
+></TR
+></TABLE
+></P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="START-OS2"
+>6.5. OS/2</A
+></H2
 ><P
 ><P
-> If you encounter problems, try loading the page without
- <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->. If that helps, enter the URL where
- you have the problems into <A
-HREF="http://p.p/show-url-info"
-TARGET="_top"
->the browser
- based rule tracing utility</A
->. See which rules apply and why, and
- then try turning them off for that site one after the other, until the problem
- is gone. When you have found the culprit, you might want to turn the rest on
- again.</P
+>FIXME.</P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="START-MACOSX"
+>6.6. MAX OSX</A
+></H2
 ><P
 ><P
-> If the above paragraph sounds gibberish to you, you might want to <A
-HREF="configuration.html#ACTIONSFILE"
-TARGET="_top"
->read more about the actions concept</A
->
- or even dive deep into the <A
-HREF="appendix.html#ACTIONSANAT"
-TARGET="_top"
->Appendix
- on actions</A
->.</P
+>FIXME.</P
+></DIV
+><DIV
+CLASS="SECT2"
+><H2
+CLASS="SECT2"
+><A
+NAME="START-AMIGAOS"
+>6.7. AmigaOS</A
+></H2
 ><P
 ><P
-> If you can't get rid of the problem at all, think you've found a bug in
- Privoxy, want to propose a new feature or smarter rules, please see the 
- section <A
-HREF="contact.html"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"Contacting the
- Developers"</SPAN
-></A
-> below. </P
+>FIXME.</P
+></DIV
 ><DIV
 CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
 NAME="CMDOPTIONS"
 ><DIV
 CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
 NAME="CMDOPTIONS"
->6.1. Command Line Options</A
+>6.8. Command Line Options</A
 ></H2
 ><P
 > <SPAN
 ></H2
 ><P
 > <SPAN
diff --git a/doc/webserver/user-manual/templates.html b/doc/webserver/user-manual/templates.html
new file mode 100644 (file)
index 0000000..db274f6
--- /dev/null
@@ -0,0 +1,179 @@
+<HTML
+><HEAD
+><TITLE
+>Templates</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
+"><LINK
+REL="HOME"
+TITLE="Privoxy User Manual"
+HREF="index.html"><LINK
+REL="PREVIOUS"
+TITLE="The Filter File"
+HREF="filter-file.html"><LINK
+REL="NEXT"
+TITLE="Contacting the Developers, Bug Reporting and Feature
+Requests"
+HREF="contact.html"><LINK
+REL="STYLESHEET"
+TYPE="text/css"
+HREF="../p_doc.css"></HEAD
+><BODY
+CLASS="SECT1"
+BGCOLOR="#EEEEEE"
+TEXT="#000000"
+LINK="#0000FF"
+VLINK="#840084"
+ALINK="#0000FF"
+><DIV
+CLASS="NAVHEADER"
+><TABLE
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TH
+COLSPAN="3"
+ALIGN="center"
+>Privoxy User Manual</TH
+></TR
+><TR
+><TD
+WIDTH="10%"
+ALIGN="left"
+VALIGN="bottom"
+><A
+HREF="filter-file.html"
+>Prev</A
+></TD
+><TD
+WIDTH="80%"
+ALIGN="center"
+VALIGN="bottom"
+></TD
+><TD
+WIDTH="10%"
+ALIGN="right"
+VALIGN="bottom"
+><A
+HREF="contact.html"
+>Next</A
+></TD
+></TR
+></TABLE
+><HR
+ALIGN="LEFT"
+WIDTH="100%"></DIV
+><DIV
+CLASS="SECT1"
+><H1
+CLASS="SECT1"
+><A
+NAME="TEMPLATES"
+>11. Templates</A
+></H1
+><P
+> When <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> displays one of its internal 
+ pages, such as a <A
+HREF="http://bogus_404_page.com"
+TARGET="_top"
+>404 Not Found error page</A
+>
+ (<SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> must be running for link to work as
+ intended), it uses the appropriate template. On Linux, BSD, and Unix, these
+ are located in <TT
+CLASS="FILENAME"
+>/etc/privoxy/templates</TT
+> by default. These
+ may be customized, if desired. <TT
+CLASS="FILENAME"
+>cgi-style.css</TT
+> is used to
+ control the HTML attributes (fonts, etc).</P
+><P
+> The default 
+<A
+HREF="http://ads.bannerserver.example.com/nasty-ads/sponsor.html"
+TARGET="_top"
+>Blocked 
+(<SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> needs to be running for page to display)</A
+>
+ banner page with the bright red top 
+ banner, is called just <SPAN
+CLASS="QUOTE"
+>"<TT
+CLASS="FILENAME"
+>blocked</TT
+>"</SPAN
+>. This 
+ may be customized or replaced with something else if desired.&#13;</P
+></DIV
+><DIV
+CLASS="NAVFOOTER"
+><HR
+ALIGN="LEFT"
+WIDTH="100%"><TABLE
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+><A
+HREF="filter-file.html"
+>Prev</A
+></TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+><A
+HREF="index.html"
+>Home</A
+></TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+><A
+HREF="contact.html"
+>Next</A
+></TD
+></TR
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+>The Filter File</TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+>&nbsp;</TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+>Contacting the Developers, Bug Reporting and Feature
+Requests</TD
+></TR
+></TABLE
+></DIV
+></BODY
+></HTML
+>
\ No newline at end of file
index 087a7b7..097e850 100644 (file)
@@ -99,35 +99,43 @@ CLASS="FILENAME"
 CLASS="FILENAME"
 >imagelist</TT
 >, are now combined into the
 CLASS="FILENAME"
 >imagelist</TT
 >, are now combined into the
- <SPAN
+ <A
+HREF="actions-file.html"
+TARGET="_top"
+><SPAN
 CLASS="QUOTE"
 >"actions files"</SPAN
 CLASS="QUOTE"
 >"actions files"</SPAN
->.  <TT
+></A
+>.  
+ <TT
 CLASS="FILENAME"
 >default.action</TT
 CLASS="FILENAME"
 >default.action</TT
->, 
- is the main actions file. Local exceptions should best be put into 
- <TT
+>, is the main actions file. Local
+ exceptions should best be put into <TT
 CLASS="FILENAME"
 >user.action</TT
 >.</P
 ><P
 CLASS="FILENAME"
 >user.action</TT
 >.</P
 ><P
-> A <SPAN
+> A <A
+HREF="filter-file.html"
+TARGET="_top"
+><SPAN
 CLASS="QUOTE"
 >"filter file"</SPAN
 CLASS="QUOTE"
 >"filter file"</SPAN
-> (typically <TT
+></A
+> (typically
+ <TT
 CLASS="FILENAME"
 >default.filter</TT
 CLASS="FILENAME"
 >default.filter</TT
->)
- is new as of <SPAN
+>) is new as of <SPAN
 CLASS="APPLICATION"
 CLASS="APPLICATION"
->Privoxy 2.9.x</SPAN
->, and provides some
- of the new sophistication (explained below). <TT
+>Privoxy
+ 2.9.x</SPAN
+>, and provides some of the new sophistication (explained
+ below). <TT
 CLASS="FILENAME"
 >config</TT
 CLASS="FILENAME"
 >config</TT
-> is 
- much the same as before.</P
+> is much the same as before.</P
 ><P
 > If upgrading from a 2.0.x version, you will have to use the new config 
  files, and possibly adapt any personal rules from your older files.
 ><P
 > If upgrading from a 2.0.x version, you will have to use the new config 
  files, and possibly adapt any personal rules from your older files.
@@ -187,12 +195,13 @@ CLASS="APPLICATION"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >
-   configuration is in the <SPAN
-CLASS="QUOTE"
->"actions"</SPAN
-> files. It is strongly
-   recommended to become familiar with the new actions concept below, 
-   before modifying these files. Locally defined rules 
+   configuration is in the <A
+HREF="actions-file.html"
+TARGET="_top"
+>actions
+   files</A
+>. It is strongly recommended to become familiar with the new
+   actions concept below, before modifying these files. Locally defined rules 
    should go into <TT
 CLASS="FILENAME"
 >user.action</TT
    should go into <TT
 CLASS="FILENAME"
 >user.action</TT