httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r642992 - /httpd/httpd/trunk/docs/manual/mod/mod_filter.xml
Date Mon, 31 Mar 2008 13:49:59 GMT
Author: niq
Date: Mon Mar 31 06:49:56 2008
New Revision: 642992

URL: http://svn.apache.org/viewvc?rev=642992&view=rev
Log:
Add upgrading section to mod_filter docs.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_filter.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_filter.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_filter.xml?rev=642992&r1=642991&r2=642992&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_filter.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_filter.xml Mon Mar 31 06:49:56 2008
@@ -128,6 +128,23 @@
     beginning or end of the chain, remove a filter, or clear the chain.</dd>
 </dl>
 </section>
+<section id="upgrade"><title>Upgrading from HTTPD 2.2 Configuration</title>
+    <p>The <directive module="mod_filter">FilterProvider</directive>
+    directive has changed from HTTPD 2.2: the <var>match</var> and
+    <var>dispatch</var> arguments are replaced with a single but
+    more versatile <var>expression</var>.  In general, you can convert
+    a match/dispatch pair to the two sides of an expression, using
+    something like:</p>
+    <example>"dispatch = match"</example>
+    <p>The Request headers, Response headers and Environment variables
+    are now interpreted from syntax <var>$req{foo}</var>,
+    <var>$resp{foo}</var> and <var>$env{foo}</var> respectively.
+    The variables <var>$handler</var> and <var>$Content-Type</var>
+    are also supported.</p>
+    <p>Note that the match no longer supports integer comparisons
+    or substring matches.  The latter can be replaced by regular
+    expression matches.</p>
+</section>
 
 <section id="examples"><title>Examples</title>
     <dl>



Mime
View raw message