You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ig...@apache.org on 2010/12/11 21:09:32 UTC

svn commit: r1044701 - /httpd/httpd/trunk/docs/manual/mod/mod_dir.xml

Author: igalic
Date: Sat Dec 11 20:09:32 2010
New Revision: 1044701

URL: http://svn.apache.org/viewvc?rev=1044701&view=rev
Log:
The local uri part is *always* the whole Request_URI. Including the leading /.
Otherwise we end up with a 500, for infinite recursion.

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

Modified: httpd/httpd/trunk/docs/manual/mod/mod_dir.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_dir.xml?rev=1044701&r1=1044700&r2=1044701&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_dir.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_dir.xml Sat Dec 11 20:09:32 2010
@@ -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>