From cvs-return-37496-apmail-httpd-cvs-archive=httpd.apache.org@httpd.apache.org Sat Dec 11 20:09:54 2010
Return-Path:
Delivered-To: apmail-httpd-cvs-archive@www.apache.org
Received: (qmail 18626 invoked from network); 11 Dec 2010 20:09:53 -0000
Received: from unknown (HELO mail.apache.org) (140.211.11.3)
by 140.211.11.9 with SMTP; 11 Dec 2010 20:09:53 -0000
Received: (qmail 74346 invoked by uid 500); 11 Dec 2010 20:09:53 -0000
Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org
Received: (qmail 74284 invoked by uid 500); 11 Dec 2010 20:09:53 -0000
Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm
Precedence: bulk
Reply-To: dev@httpd.apache.org
list-help:
list-unsubscribe:
List-Post:
List-Id:
Delivered-To: mailing list cvs@httpd.apache.org
Received: (qmail 74277 invoked by uid 99); 11 Dec 2010 20:09:53 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 20:09:53 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=10.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 20:09:52 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id D650223888EA; Sat, 11 Dec 2010 20:09:32 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r1044701 - /httpd/httpd/trunk/docs/manual/mod/mod_dir.xml
Date: Sat, 11 Dec 2010 20:09:32 -0000
To: cvs@httpd.apache.org
From: igalic@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20101211200932.D650223888EA@eris.apache.org>
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
in your filesystem, and would otherwise return HTTP 404 (Not Found).
For example
- FallbackResource not-404.php
+ FallbackResource /not-404.php
will cause requests for non-existent files to be handled by
not-404.php, while requests for files that exist
@@ -183,7 +183,7 @@ a directory
-d tests for file and directory existence. This now
requires only one line of configuration.
- FallbackResource index.php
+ FallbackResource /index.php
Existing files, such as images, css files, and so on, will be
served normally.
@@ -193,7 +193,7 @@ a directory
<Directory /web/example.com/htdocs/blog>
- FallbackResource /blog/index.php
+ FallbackResource /blog/index.php
</Directory>