From 13a49c46af2d2199c0a32af05efc005ca26cf9d4 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Mon, 31 Mar 2008 13:49:56 +0000 Subject: [PATCH] Add upgrading section to mod_filter docs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@642992 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_filter.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/manual/mod/mod_filter.xml b/docs/manual/mod/mod_filter.xml index 7d373a4890..1eed15420d 100644 --- a/docs/manual/mod/mod_filter.xml +++ b/docs/manual/mod/mod_filter.xml @@ -128,6 +128,23 @@ beginning or end of the chain, remove a filter, or clear the chain. +
Upgrading from HTTPD 2.2 Configuration +

The FilterProvider + directive has changed from HTTPD 2.2: the match and + dispatch arguments are replaced with a single but + more versatile expression. In general, you can convert + a match/dispatch pair to the two sides of an expression, using + something like:

+ "dispatch = match" +

The Request headers, Response headers and Environment variables + are now interpreted from syntax $req{foo}, + $resp{foo} and $env{foo} respectively. + The variables $handler and $Content-Type + are also supported.

+

Note that the match no longer supports integer comparisons + or substring matches. The latter can be replaced by regular + expression matches.

+
Examples
-- 2.40.0