summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Galić <igalic@apache.org>2010-12-11 21:09:32 +0100
committerIgor Galić <igalic@apache.org>2010-12-11 21:09:32 +0100
commit21a4fb69dcc3c5a5080197450c41361210259b44 (patch)
tree4cb2ba1a479c63790b2b0e66a65a071ae1c11879
parentUpdates. (diff)
downloadapache2-21a4fb69dcc3c5a5080197450c41361210259b44.tar.xz
apache2-21a4fb69dcc3c5a5080197450c41361210259b44.zip
The local uri part is *always* the whole Request_URI. Including the leading /.
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
-rw-r--r--docs/manual/mod/mod_dir.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual/mod/mod_dir.xml b/docs/manual/mod/mod_dir.xml
index 3f5a2fa8c7..5c69ddb44b 100644
--- a/docs/manual/mod/mod_dir.xml
+++ b/docs/manual/mod/mod_dir.xml
@@ -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>