> <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
+>