Catching up html with sgml.
[privoxy.git] / doc / webserver / faq / configuration.html
index 681cefd..f436199 100644 (file)
@@ -1,11 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
 <HTML
 ><HEAD
 ><TITLE
 >Configuration</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 REL="HOME"
 TITLE="Privoxy Frequently Asked Questions"
 HREF="index.html"><LINK
@@ -74,19 +74,19 @@ CLASS="SECT1"
 CLASS="SECT1"
 ><A
 NAME="CONFIGURATION"
-></A
->3. Configuration</H1
+>3. Configuration</A
+></H1
 ><DIV
 CLASS="SECT2"
 ><H3
 CLASS="SECT2"
 ><A
-NAME="AEN351"
-></A
+NAME="AEN342"
 >3.1. What exactly is an <SPAN
 CLASS="QUOTE"
 >"actions"</SPAN
-> file?</H3
+> file?</A
+></H3
 ><P
 > <SPAN
 CLASS="APPLICATION"
@@ -145,7 +145,6 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="ACTIONSS"
-></A
 >3.2. The <SPAN
 CLASS="QUOTE"
 >"actions"</SPAN
@@ -153,7 +152,8 @@ CLASS="QUOTE"
 some of these <SPAN
 CLASS="QUOTE"
 >"actions"</SPAN
->.</H3
+>.</A
+></H3
 ><P
 > For a comprehensive discussion of the actions concept, please refer
  to the <A
@@ -183,10 +183,10 @@ CLASS="SECT2"
 ><H3
 CLASS="SECT2"
 ><A
-NAME="AEN374"
-></A
+NAME="AEN365"
 >3.3. How are actions files configured? What is the easiest
-way to do this?</H3
+way to do this?</A
+></H3
 ><P
 > Actions files are just text files in a special syntax and can be edited
  with a text editor. But probably the easiest way is to access
@@ -219,13 +219,13 @@ CLASS="SECT2"
 ><H3
 CLASS="SECT2"
 ><A
-NAME="AEN382"
-></A
+NAME="AEN373"
 >3.4. There are several different <SPAN
 CLASS="QUOTE"
 >"actions"</SPAN
 > files. What are
-the differences?</H3
+the differences?</A
+></H3
 ><P
 > Three actions files 
  are being included by the developers, to be used for 
@@ -282,8 +282,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="GETUPDATES"
-></A
->3.5. Where can I get updated Actions Files?</H3
+>3.5. Where can I get updated Actions Files?</A
+></H3
 ><P
 >   Based on your feedback and the continuing development, updates of 
    <TT
@@ -320,53 +320,16 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="NEWCONFIG"
-></A
->3.6. Can I use my old config files?</H3
+>3.6. Can I use my old config files?</A
+></H3
 ><P
->  The syntax and purpose of configuration files has remained the same
-  throughout the 3.x series. Although each release contains updated, 
-  <SPAN
+>  The syntax and purpose of configuration files has remained roughly the
+  same throughout the 3.x series, but backwards compatibility is not guaranteed.
+  Also each release contains updated, <SPAN
 CLASS="QUOTE"
 >"improved"</SPAN
-> versions and it is recommended to use the newer
-  configuration files.
-  
-   If upgrading from version prior to 3.0.4 the syntax for <TT
-CLASS="LITERAL"
->fast-redirects</TT
->
-   has changed. See the <A
-HREF="../user-manual/whatsnew.html"
-TARGET="_top"
->What's New section</A
-> 
-   of the <I
-CLASS="CITETITLE"
->User Manual</I
-> for details.
- </P
-><P
->   But all configuration files have substantially
-   changed from the <SPAN
-CLASS="APPLICATION"
->Junkbuster</SPAN
-> days, and early
-   versions of <SPAN
-CLASS="APPLICATION"
->Privoxy 2.x</SPAN
->. The old files, like
-   <TT
-CLASS="FILENAME"
->blocklist</TT
-> will not work at all. 
- </P
-><P
->  Refer to the <A
-HREF="../user-manual/whatsnew.html"
-TARGET="_top"
->What's New</A
-> 
- page for information on configuration changes that may occur from one release to another.
+> versions and it is
+  therefore strongly recommended to use the newer configuration files.
  </P
 ></DIV
 ><DIV
@@ -375,8 +338,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="DIFFICULT"
-></A
->3.7. Why is the configuration so complicated?</H3
+>3.7. Why is the configuration so complicated?</A
+></H3
 ><P
 >  <SPAN
 CLASS="QUOTE"
@@ -402,8 +365,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="YAHOO"
-></A
->3.8. How can I make my Yahoo/Hotmail/Gmail account work?</H3
+>3.8. How can I make my Yahoo/Hotmail/Gmail account work?</A
+></H3
 ><P
 >  The default configuration shouldn't impact the usability of any of these services.
   It may, however, make all <A
@@ -519,7 +482,6 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="CONFIGFILES"
-></A
 >3.9. What's the difference between the
 <SPAN
 CLASS="QUOTE"
@@ -530,7 +492,8 @@ CLASS="QUOTE"
 > and <SPAN
 CLASS="QUOTE"
 >"Advanced"</SPAN
-> defaults?</H3
+> defaults?</A
+></H3
 ><P
 >  Configuring <SPAN
 CLASS="APPLICATION"
@@ -598,9 +561,9 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="BROWSECONFIG"
-></A
 >3.10. Why can I change the configuration 
-with a browser? Does that not raise security issues?</H3
+with a browser? Does that not raise security issues?</A
+></H3
 ><P
 >  It may seem strange that regular users can edit the config files with their
   browsers, although the whole <TT
@@ -625,15 +588,18 @@ CLASS="APPLICATION"
 CLASS="QUOTE"
 >"privoxy"</SPAN
 >,
-  it can update the config files.
+  it can update its own config files.
  </P
 ><P
 >  If you run <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > for multiple untrusted users (e.g. in
-  a LAN), you will probably want to turn the web-based editor and remote toggle
-  features off by setting <SPAN
+  a LAN), you will probably want to make sure that the turn the web-based
+  editor and remote toggle features are <SPAN
+CLASS="QUOTE"
+>"off"</SPAN
+> by setting <SPAN
 CLASS="QUOTE"
 >"<TT
 CLASS="LITERAL"
@@ -670,7 +636,7 @@ CLASS="QUOTE"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >,
-  so this is not (normally) a security problem.
+  so this is (normally) not a security problem.
  </P
 ></DIV
 ><DIV
@@ -678,15 +644,15 @@ CLASS="SECT2"
 ><H3
 CLASS="SECT2"
 ><A
-NAME="AEN488"
-></A
+NAME="AEN471"
 >3.11. What is the <TT
 CLASS="FILENAME"
 >default.filter</TT
 > file? What is a <SPAN
 CLASS="QUOTE"
 >"filter"</SPAN
->?</H3
+>?</A
+></H3
 ><P
 > The <A
 HREF="../user-manual/filter-file.html"
@@ -763,9 +729,9 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="LANCONFIG"
-></A
 >3.12. How can I set up Privoxy to act as a proxy for my 
- LAN?</H3
+ LAN?</A
+></H3
 ><P
 > By default, <SPAN
 CLASS="APPLICATION"
@@ -871,9 +837,9 @@ CLASS="SECT2"
 ><H3
 CLASS="SECT2"
 ><A
-NAME="AEN531"
-></A
->3.13. Instead of ads, now I get a checkerboard pattern. I don't want to see anything.</H3
+NAME="AEN514"
+>3.13. Instead of ads, now I get a checkerboard pattern. I don't want to see anything.</A
+></H3
 ><P
 > The replacement for blocked images can be controlled with the <A
 HREF="../user-manual/actions-file.html#SET-IMAGE-BLOCKER"
@@ -938,9 +904,9 @@ CLASS="SECT2"
 ><H3
 CLASS="SECT2"
 ><A
-NAME="AEN548"
-></A
->3.14. Why would anybody want to see a checkerboard pattern?</H3
+NAME="AEN531"
+>3.14. Why would anybody want to see a checkerboard pattern?</A
+></H3
 ><P
 > Remember that <A
 HREF="general.html#WHATSANAD"
@@ -968,10 +934,10 @@ CLASS="SECT2"
 ><H3
 CLASS="SECT2"
 ><A
-NAME="AEN554"
-></A
->3.15. I see some images being replaced by a text
-instead of the checkerboard image. Why and how do I get rid of this?</H3
+NAME="AEN537"
+>3.15. I see some images being replaced with text
+instead of the checkerboard image. Why and how do I get rid of this?</A
+></H3
 ><P
 > This happens when the banners are not embedded in the HTML code of the
  page itself, but in separate HTML (sub)documents that are loaded into (i)frames
@@ -1000,9 +966,9 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="SRVANY"
-></A
 >3.16. Can Privoxy run as a service 
-on Win2K/NT/XP?</H3
+on Win2K/NT/XP?</A
+></H3
 ><P
 > Yes. Version 3.0.5 introduces full <SPAN
 CLASS="APPLICATION"
@@ -1038,9 +1004,9 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="OTHERPROXY"
-></A
 >3.17. How can I make Privoxy work with other 
-proxies like Squid or Tor?</H3
+proxies like Squid or Tor?</A
+></H3
 ><P
 > This can be done and is often useful to combine the benefits of
  <SPAN
@@ -1069,14 +1035,14 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="PORT-80"
-></A
 >3.18. Can I just set Privoxy to use port 80
-and thus avoid individual browser configuration?</H3
+and thus avoid individual browser configuration?</A
+></H3
 ><P
 > No, its more complicated than that. This only works with special kinds 
  of proxies known as <SPAN
 CLASS="QUOTE"
->"transparent"</SPAN
+>"intercepting"</SPAN
 > proxies (see below).</P
 ></DIV
 ><DIV
@@ -1085,44 +1051,87 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="TRANSPARENT"
-></A
 >3.19. Can Privoxy run as a <SPAN
 CLASS="QUOTE"
 >"transparent"</SPAN
-> proxy?</H3
+> proxy?</A
+></H3
+><P
+> The whole idea of Privoxy is to modify client requests
+ and server responses in all sorts of ways and therefore
+ it's not a transparent proxy as described in
+ <A
+HREF="http://tools.ietf.org/html/rfc2616"
+TARGET="_top"
+>RFC 2616</A
+>.</P
+><P
+> However, some people say <SPAN
+CLASS="QUOTE"
+>"transparent proxy"</SPAN
+> when they
+ mean <SPAN
+CLASS="QUOTE"
+>"intercepting proxy"</SPAN
+>. If you are one of them,
+ please read the <A
+HREF="#intercepting"
+TARGET="_top"
+>next entry</A
+>.</P
+></DIV
+><DIV
+CLASS="SECT2"
+><H3
+CLASS="SECT2"
+><A
+NAME="INTERCEPTING"
+>3.20. Can Privoxy run as a <SPAN
+CLASS="QUOTE"
+>"intercepting"</SPAN
+> proxy?</A
+></H3
 ><P
-> No, <SPAN
+> <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
-> currently does not have this ability, 
- though it may be added in a future release. Transparent proxies require
- special handling of the request headers beyond what
- <SPAN
+> can't intercept traffic itself,
+  but it can handle requests that where intercepted and redirected
+  with a packet filter (like <SPAN
 CLASS="APPLICATION"
->Privoxy</SPAN
-> is now capable of. </P
+>PF</SPAN
+> or
+  <SPAN
+CLASS="APPLICATION"
+>iptables</SPAN
+>), as long as the <TT
+CLASS="LITERAL"
+>Host</TT
+>
+  header is present. 
+  </P
+><P
+>  As the <TT
+CLASS="LITERAL"
+>Host</TT
+> header is required by HTTP/1.1 and as most
+  web sites don't work if it isn't set, this limitation shouldn't be a
+  problem.</P
 ><P
-> Chaining <SPAN
+>  Please refer to your packet filter's documentation to learn how to
+  intercept and redirect traffic into <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
-> behind another proxy that has 
- this ability should work though. 
- See the <A
-HREF="../user-manual/config.html#FORWARDING"
-TARGET="_top"
->forwarding chapter</A
->
- in the <A
-HREF="../user-manual/index.html"
-TARGET="_top"
->User Manual</A
->. As
- a transparent proxy to be used for chaining we suggest Transproxy
- (<A
-HREF="http://transproxy.sourceforge.net/"
+>. Afterward you just have
+  to configure <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> to
+  <A
+HREF="../user-manual/config.html#ACCEPT-INTERCEPTED-REQUESTS"
 TARGET="_top"
->http://transproxy.sourceforge.net/</A
->).</P
+>accept intercepted requests</A
+>.</P
 ></DIV
 ><DIV
 CLASS="SECT2"
@@ -1130,9 +1139,9 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="OUTLOOK"
-></A
->3.20. How can I configure Privoxy for use with Outlook
- Express?</H3
+>3.21. How can I configure Privoxy for use with Outlook
+ Express?</A
+></H3
 ><P
 > <SPAN
 CLASS="APPLICATION"
@@ -1154,8 +1163,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="OUTLOOK-MORE"
-></A
->3.21. How can I have separate rules just for HTML mail?</H3
+>3.22. How can I have separate rules just for HTML mail?</A
+></H3
 ><P
 > The short answer is, you can't. <SPAN
 CLASS="APPLICATION"
@@ -1192,8 +1201,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="SNEAKY-COOKIES"
-></A
->3.22. I sometimes notice cookies sneaking through. How?</H3
+>3.23. I sometimes notice cookies sneaking through. How?</A
+></H3
 ><P
 > <A
 HREF="http://en.wikipedia.org/wiki/Browser_cookie"
@@ -1249,8 +1258,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="EVIL-COOKIES"
-></A
->3.23. Are all cookies bad? Why?</H3
+>3.24. Are all cookies bad? Why?</A
+></H3
 ><P
 > No, in fact there are many beneficial uses of 
  <A
@@ -1264,7 +1273,7 @@ TARGET="_top"
  advantage of this layer of trust, and using the data they glean from you  and 
  your browsing habits for their own purposes, and maybe to your potential
  detriment. Such sites are using you and storing their data on your system.
- That is why the security conscious watch from whom those cookies come, and why
+ That is why the privacy conscious watch from whom those cookies come, and why
  they really <SPAN
 CLASS="emphasis"
 ><I
@@ -1287,8 +1296,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="ALLOW-COOKIES"
-></A
->3.24. How can I allow permanent cookies for my trusted sites?</H3
+>3.25. How can I allow permanent cookies for my trusted sites?</A
+></H3
 ><P
 >  There are several actions that relate to cookies. The default behavior is to 
   allow only <SPAN
@@ -1296,7 +1305,7 @@ CLASS="QUOTE"
 >"session cookies"</SPAN
 >, which means the cookies only last
   for the current browser session. This eliminates most kinds of abuse related 
-  to cookies. But there may be cases where we want cookies to last.</P
+  to cookies. But there may be cases where you want cookies to last.</P
 ><P
 >  To disable all cookie actions, so that cookies are allowed unrestricted,
   both in and out, for <TT
@@ -1322,7 +1331,7 @@ CLASS="SCREEN"
 > Place the above in <TT
 CLASS="FILENAME"
 >user.action</TT
->. Note some of these may
+>. Note that some of these may
  be off by default anyway, so this might be redundant, but there is no harm
  being explicit in what you want to happen. <TT
 CLASS="FILENAME"
@@ -1340,8 +1349,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="MULTIPLES"
-></A
->3.25. Can I have separate configurations for different users?</H3
+>3.26. Can I have separate configurations for different users?</A
+></H3
 ><P
 > Each instance of <SPAN
 CLASS="APPLICATION"
@@ -1372,12 +1381,12 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="WHITELISTS"
-></A
->3.26. Can I set-up Privoxy as a whitelist of
+>3.27. Can I set-up Privoxy as a whitelist of
 <SPAN
 CLASS="QUOTE"
 >"good"</SPAN
-> sites?</H3
+> sites?</A
+></H3
 ><P
 > Sure. There are a couple of things you can do for simple white-listing.
  Here's one real easy one:</P
@@ -1451,8 +1460,8 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="NO-ADBLOCK"
-></A
->3.27. How can I turn off ad-blocking?</H3
+>3.28. How can I turn off ad-blocking?</A
+></H3
 ><P
 > Ad blocking is achieved through a complex application of various <SPAN
 CLASS="APPLICATION"
@@ -1580,15 +1589,15 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="TEMPLATES"
-></A
->3.28. How can I have custom template pages, like the 
+>3.29. How can I have custom template pages, like the 
 <SPAN
 CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >BLOCKED</I
 ></SPAN
-> page?</H3
+> page?</A
+></H3
 ><P
 > <SPAN
 CLASS="APPLICATION"
@@ -1617,8 +1626,7 @@ CLASS="SECT2"
 CLASS="SECT2"
 ><A
 NAME="BLOCKALL"
-></A
->3.29. How can I remove the <SPAN
+>3.30. How can I remove the <SPAN
 CLASS="QUOTE"
 >"Go There Anyway"</SPAN
 > link from 
@@ -1628,7 +1636,10 @@ CLASS="emphasis"
 CLASS="EMPHASIS"
 >BLOCKED</I
 ></SPAN
-> page?</H3
+> page?</A
+></H3
+><P
+> There is more than one way to do it.</P
 ><P
 > Editing the BLOCKED template page (see above) may dissuade some users, but
  this method is easily circumvented. Where you need this level of control, you
@@ -1661,25 +1672,18 @@ CLASS="SCREEN"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > does not allow easy bypassing of blocked sites, or changing the
- current configuration via any connected user's web browser. Some of these
- features can also be toggled on/off via options in
+ current configuration via any connected user's web browser.</P
+><P
+> Note that all of these features can also be toggled on/off via options in
  <SPAN
 CLASS="APPLICATION"
 >Privoxy's</SPAN
-> main 
- <A
+> main  <A
 HREF="../user-manual/config.html#ACCESS-CONTROL"
 TARGET="_top"
 >config</A
-> file. But 
- compiled-in compliance is a much better method of ensuring that a block is
- really a block. </P
-><P
-> Default builds of <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> are typically built with these features
- disabled.</P
+> file which
+ means you don't have to recompile anything.</P
 ></DIV
 ></DIV
 ><DIV