]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Update transformation [skip ci]
authorRuediger Pluem <rpluem@apache.org>
Wed, 13 Oct 2021 07:19:25 +0000 (07:19 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 13 Oct 2021 07:19:25 +0000 (07:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894180 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.html.en.utf8
docs/manual/mod/mod_include.html.en.utf8
docs/manual/mod/mod_speling.html.en.utf8

index 1edc6701e496820c16582857b0d57863da4e9f3a..67c458eb8f4717e274bd9077a5c50f834b865f80 100644 (file)
@@ -552,7 +552,8 @@ DIGIT       ::= &lt;any US-ASCII digit "0".."9"&gt;</pre>
             (RFC4514) and LDAP filter escaping (RFC4515).</td><td /></tr>
 <tr class="odd"><td><code>replace</code></td>
         <td>replace(string, "from", "to") replaces all occurrences of "from"
-            in the string with "to".</td><td /></tr>
+            in the string with "to". The first parameter must not be a literal string.
+            </td><td /></tr>
 </table>
 
     <p>The functions marked as "restricted" in the final column are not 
@@ -695,9 +696,8 @@ DIGIT       ::= &lt;any US-ASCII digit "0".."9"&gt;</pre>
 &lt;If "md5('foo') == 'acbd18db4cc2f85cedef654fccc4a4d8'"&gt;
   Header set checksum-matched true
 &lt;/If&gt;
-&lt;If "md5('foo') == replace('md5:XXXd18db4cc2f85cedef654fccc4a4d8', 'md5:XXX', 'acb')"&gt;
-  Header set checksum-matched-2 true
-&lt;/If&gt;
+
+Require expr replace(%{REQUEST_METHOD},  'E', 'O') == 'GET'"
 
 # Function example in string context
 Header set foo-checksum "expr=%{md5:foo}"
index 9a221ecb558fc155d66bdbc2c22b24975cbe01e0..66b6d47210d760ed6432ec77877cc95d4e24d442 100644 (file)
@@ -170,7 +170,9 @@ AddOutputFilter INCLUDES .shtml</pre>
       <p>This syntax is available in version 2.4.21 and later.</p>
 
       <div class="example"><p><code>
-      &lt;!--#comment Blah Blah Blah --&gt;
+      &lt;!--#comment Blah Blah Blah --&gt;<br />
+      &nbsp;&nbsp;&nbsp;or<br />
+      &lt;!--#comment text="Blah Blah Blah" --&gt;
       </code></p></div>
      
 
index 64f8d33d1bb90fec8fd9403b19e9a7016bc3edc3..031cd897087323b0562f1adf9c48893571aa1d0b 100644 (file)
@@ -90,6 +90,7 @@ misspellings.</td></tr>
 <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>Options</td></tr>
 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_speling</td></tr>
+<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in httpd 2.5.0 and later</td></tr>
 </table>
     <p>When set, this directive extends the action of the spelling correction
     to the file name extension. For example a file <code>foo.gif</code> will