]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
bz63716 Clarify sequence of steps in remapping
authorRich Bowen <rbowen@apache.org>
Mon, 16 Mar 2026 03:54:28 +0000 (03:54 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 16 Mar 2026 03:54:28 +0000 (03:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1932321 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/remapping.xml

index b7534d7b864ec44cbb218930c99737690077322a..4d9b18b58f46d81fc431b9c11a12df4b644fbc81 100644 (file)
@@ -216,9 +216,10 @@ RewriteRule    "^foo\.html$"  "foo.cgi"  [H=<strong>cgi-script</strong>]
     <dt>Solution:</dt>
 
     <dd>
-      <p>We rewrite the name to its basename and test for
-      existence of the new extension. If it exists, we take
-      that name, else we rewrite the URL to its original state.</p>
+      <p>The URL is rewritten from the old extension to the new
+      one only if the target file with the new extension exists
+      and the original file with the old extension does not.
+      Otherwise, the URL is left unchanged.</p>
 
 <highlight language="config">
 #   backward compatibility ruleset for