]> granicus.if.org Git - apache/commitdiff
The local uri part is *always* the whole Request_URI. Including the leading /.
authorIgor Galić <igalic@apache.org>
Sat, 11 Dec 2010 20:09:32 +0000 (20:09 +0000)
committerIgor Galić <igalic@apache.org>
Sat, 11 Dec 2010 20:09:32 +0000 (20:09 +0000)
Otherwise we end up with a 500, for infinite recursion.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1044701 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_dir.xml

index 3f5a2fa8c73f7209138c887d968352ce579b7236..5c69ddb44b044315f37a3c7a04608c414954c13a 100644 (file)
@@ -169,7 +169,7 @@ a directory</description>
     in your filesystem, and would otherwise return HTTP 404 (Not Found).
     For example</p>
     <example>
-        <code>FallbackResource not-404.php</code>
+        <code>FallbackResource /not-404.php</code>
     </example>
     <p>will cause requests for non-existent files to be handled by
     <code>not-404.php</code>, while requests for files that exist
@@ -183,7 +183,7 @@ a directory</description>
     <code>-d</code> tests for file and directory existence. This now
     requires only one line of configuration.</p>
     <example>
-        <code>FallbackResource index.php</code>
+        <code>FallbackResource /index.php</code>
     </example>
     <p>Existing files, such as images, css files, and so on, will be
     served normally.</p>
@@ -193,7 +193,7 @@ a directory</description>
          <code>
              &lt;Directory /web/example.com/htdocs/blog&gt;<br />
             <indent>
-                    FallbackResource /blog/index.php<br />
+                  FallbackResource /blog/index.php<br />
              </indent>
              &lt;/Directory&gt;
          </code>