X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fwebserver%2Fuser-manual%2Ffilter-file.html;fp=doc%2Fwebserver%2Fuser-manual%2Ffilter-file.html;h=a881b3eddbf8a69ed00bcadfe3e81f0bdd99c17b;hb=a1c44c930aba3f4c6301b10d84389ff7afb258a4;hp=12c9713ddc53729d56cd4ddb34937fbccd0aaa37;hpb=0d0d70881b4712c6ffaa07ee7092fcdd28039b49;p=privoxy.git diff --git a/doc/webserver/user-manual/filter-file.html b/doc/webserver/user-manual/filter-file.html index 12c9713d..a881b3ed 100644 --- a/doc/webserver/user-manual/filter-file.html +++ b/doc/webserver/user-manual/filter-file.html @@ -29,12 +29,13 @@

9. Filter Files

On-the-fly text substitutions need to be defined in a "filter file". Once defined, they can then be invoked as an "action".

-

Privoxy supports three different pcrs-based filter actions: Privoxy supports four different pcrs-based filter actions: filter to rewrite the content that is send to the client, client-header-filter to rewrite - headers that are send by the client, and server-header-filter to rewrite headers that are send by the - server.

+ server, and client-body-filter to + rewrite client request body.

Privoxy also supports two tagger actions: client-header-tagger and server-header-tagger. Taggers and filters use the same syntax in @@ -59,9 +60,9 @@

Just like the actions files, the filter file is organized in sections, which are called filters here. Each filter consists of a heading line, that starts with one of the keywords FILTER:, CLIENT-HEADER-FILTER: or SERVER-HEADER-FILTER: followed by the filter's name, and a short (one line) FILTER:, CLIENT-HEADER-FILTER:, SERVER-HEADER-FILTER: or CLIENT-BODY-FILTER: followed by the filter's + name, and a short (one line) description of what it does. Below that line come the jobs, i.e. lines that define the actual text substitutions. By convention, the name of a filter should describe what the filter eliminates. The