> <DIV
CLASS="TABLE"
><A
-NAME="AEN2207"
+NAME="AEN2199"
></A
><P
><B
><TD
>no</TD
><TD
->no</TD
+>yes</TD
><TD
>yes</TD
></TR
><H2
CLASS="SECT2"
><A
-NAME="AEN2306"
+NAME="AEN2298"
>8.1. Finding the Right Mix</A
></H2
><P
><H2
CLASS="SECT2"
><A
-NAME="AEN2313"
+NAME="AEN2305"
>8.2. How to Edit</A
></H2
><P
><H3
CLASS="SECT3"
><A
-NAME="AEN2404"
+NAME="AEN2396"
>8.4.1. The Domain Pattern</A
></H3
><P
><H3
CLASS="SECT3"
><A
-NAME="AEN2480"
+NAME="AEN2472"
>8.4.2. The Path Pattern</A
></H3
><P
and be aware that using your own redirects might make it
possible to fingerprint your requests.
</P
+><P
+> In case of problems with your redirects, or simply to watch
+ them working, enable <A
+HREF="config.html#DEBUG"
+>debug 128</A
+>.
+ </P
></DD
><DT
>Example usages:</DT
# (Note the $ at the end of the URL pattern to make sure
# the request for the rewritten URL isn't redirected as well)
{+redirect{s@$@&mode=expanded@}}
-undeadly.org/cgi\?action=article&sid=\d*$</PRE
+undeadly.org/cgi\?action=article&sid=\d*$
+
+# Redirect Google search requests to MSN
+{+redirect{s@^http://[^/]*/search\?q=([^&]*).*@http://search.msn.com/results.aspx?q=$1@}}
+.google.com/search
+
+# Redirect MSN search requests to Yahoo
+{+redirect{s@^http://[^/]*/results\.aspx\?q=([^&]*).*@http://search.yahoo.com/search?p=$1@}}
+search.msn.com//results\.aspx\?q=
+
+# Redirect remote requests for this manual
+# to the local version delivered by Privoxy
+{+redirect{s@^http://www@http://config@}}
+www.privoxy.org/user-manual/</PRE
></TD
></TR
></TABLE
><H3
CLASS="SECT3"
><A
-NAME="AEN4101"
+NAME="AEN4095"
>8.5.34. Summary</A
></H3
><P
><H3
CLASS="SECT3"
><A
-NAME="AEN4164"
+NAME="AEN4158"
>8.7.1. default.action</A
></H3
><P
><H3
CLASS="SECT3"
><A
-NAME="AEN4298"
+NAME="AEN4292"
>8.7.2. user.action</A
></H3
><P
></DIV
></BODY
></HTML
->
\ No newline at end of file
+>
><H2
CLASS="SECT2"
><A
-NAME="AEN5184"
+NAME="AEN5178"
>14.2. Privoxy's Internal Pages</A
></H2
><P
Privoxy main page:
</P
><A
-NAME="AEN5198"
+NAME="AEN5192"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
editing of actions files:
</P
><A
-NAME="AEN5206"
+NAME="AEN5200"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
Show the source code version numbers:
</P
><A
-NAME="AEN5211"
+NAME="AEN5205"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
Show the browser's request headers:
</P
><A
-NAME="AEN5216"
+NAME="AEN5210"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
Show which actions apply to a URL and why:
</P
><A
-NAME="AEN5221"
+NAME="AEN5215"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
place:
</P
><A
-NAME="AEN5229"
+NAME="AEN5223"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
> Short cuts. Turn off, then on:
</P
><A
-NAME="AEN5233"
+NAME="AEN5227"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
</P
></BLOCKQUOTE
><A
-NAME="AEN5236"
+NAME="AEN5230"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><TD
><PRE
CLASS="PROGRAMLISTING"
-> debug 1 # log each request destination (and the crunch reason if <SPAN
+> debug 1 # log each request destination (and the crunch reason if <SPAN
CLASS="APPLICATION"
>Privoxy</SPAN
> intercepted the request)
- debug 2 # show each connection status
- debug 4 # show I/O status
- debug 8 # show header parsing
- debug 16 # log all data written to the network into the logfile
- debug 32 # debug force feature
- debug 64 # debug regular expression filters
- debug 128 # debug redirects
- debug 256 # debug GIF de-animation
- debug 512 # Common Log Format
- debug 1024 # Unused
- debug 2048 # CGI user interface
- debug 4096 # Startup banner and warnings.
- debug 8192 # Non-fatal errors</PRE
+ debug 2 # show each connection status
+ debug 4 # show I/O status
+ debug 8 # show header parsing
+ debug 16 # log all data written to the network into the logfile
+ debug 32 # debug force feature
+ debug 64 # debug regular expression filters
+ debug 128 # debug redirects
+ debug 256 # debug GIF de-animation
+ debug 512 # Common Log Format
+ debug 2048 # CGI user interface
+ debug 4096 # Startup banner and warnings.
+ debug 8192 # Non-fatal errors</PRE
></TD
></TR
></TABLE
><H2
CLASS="SECT2"
><A
-NAME="AEN822"
+NAME="AEN814"
>6.1. Controlling Privoxy with Your Web Browser</A
></H2
><P
> <H2
CLASS="BRIDGEHEAD"
><A
-NAME="AEN830"
+NAME="AEN822"
></A
> Privoxy Menu</H2
><P
><H2
CLASS="SECT2"
><A
-NAME="AEN4927"
+NAME="AEN4921"
>12.1. License</A
></H2
><P
><H2
CLASS="SECT2"
><A
-NAME="AEN4453"
+NAME="AEN4447"
>9.1. Filter File Tutorial</A
></H2
><P
><BR></P
><P
CLASS="PUBDATE"
->$Id: user-manual.sgml,v 2.73 2008/05/23 14:43:18 fabiankeil Exp $<BR></P
+>$Id: user-manual.sgml,v 2.75 2008/06/13 16:06:48 fabiankeil Exp $<BR></P
><DIV
><DIV
CLASS="ABSTRACT"
><DL
><DT
>6.1. <A
-HREF="configuration.html#AEN822"
+HREF="configuration.html#AEN814"
>Controlling Privoxy with Your Web Browser</A
></DT
><DT
><DL
><DT
>8.1. <A
-HREF="actions-file.html#AEN2306"
+HREF="actions-file.html#AEN2298"
>Finding the Right Mix</A
></DT
><DT
>8.2. <A
-HREF="actions-file.html#AEN2313"
+HREF="actions-file.html#AEN2305"
>How to Edit</A
></DT
><DT
><DL
><DT
>8.4.1. <A
-HREF="actions-file.html#AEN2404"
+HREF="actions-file.html#AEN2396"
>The Domain Pattern</A
></DT
><DT
>8.4.2. <A
-HREF="actions-file.html#AEN2480"
+HREF="actions-file.html#AEN2472"
>The Path Pattern</A
></DT
><DT
></DT
><DT
>8.5.34. <A
-HREF="actions-file.html#AEN4101"
+HREF="actions-file.html#AEN4095"
>Summary</A
></DT
></DL
><DL
><DT
>8.7.1. <A
-HREF="actions-file.html#AEN4164"
+HREF="actions-file.html#AEN4158"
>default.action</A
></DT
><DT
>8.7.2. <A
-HREF="actions-file.html#AEN4298"
+HREF="actions-file.html#AEN4292"
>user.action</A
></DT
></DL
><DL
><DT
>9.1. <A
-HREF="filter-file.html#AEN4453"
+HREF="filter-file.html#AEN4447"
>Filter File Tutorial</A
></DT
><DT
><DL
><DT
>12.1. <A
-HREF="copyright.html#AEN4927"
+HREF="copyright.html#AEN4921"
>License</A
></DT
><DT
></DT
><DT
>14.2. <A
-HREF="appendix.html#AEN5184"
+HREF="appendix.html#AEN5178"
>Privoxy's Internal Pages</A
></DT
><DD
>1. Introduction</A
></H1
><P
-> This documentation is included with the current UNRELEASED version of
+> This documentation is included with the current beta version of
<SPAN
CLASS="APPLICATION"
>Privoxy</SPAN
completion, and includes significant changes and enhancements over
earlier versions. .</P
><P
-> Since this is a UNRELEASED version, not all new features are well tested. This
+> Since this is a beta version, not all new features are well tested. This
documentation may be slightly out of sync as a result (especially with
CVS sources). And there <SPAN
CLASS="emphasis"
> <DIV
CLASS="FIGURE"
><A
-NAME="AEN568"
+NAME="AEN560"
></A
><P
><B
> <DIV
CLASS="FIGURE"
><A
-NAME="AEN623"
+NAME="AEN615"
></A
><P
><B
> <DIV
CLASS="FIGURE"
><A
-NAME="AEN668"
+NAME="AEN660"
></A
><P
><B