From: Rich Bowen Date: Thu, 6 Jan 2011 13:36:40 +0000 (+0000) Subject: Rebuild transformations. X-Git-Tag: 2.2.18~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cde4b05284e9ea5ab6f8b8dc40c2b2ee3703d1d4;p=thirdparty%2Fapache%2Fhttpd.git Rebuild transformations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1055870 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_dir.html.en b/docs/manual/mod/mod_dir.html.en index 1197d3f4f08..80f1ec4824f 100644 --- a/docs/manual/mod/mod_dir.html.en +++ b/docs/manual/mod/mod_dir.html.en @@ -176,11 +176,35 @@ a directory in your filesystem, and would otherwise return HTTP 404 (Not Found). For example

- FallbackResource default.php + FallbackResource /not-404.php

will cause requests for non-existent files to be handled by - default.php, while requests for files that exist + not-404.php, while requests for files that exist are unaffected.

+

It is frequently desirable to have a single file or resource + handle all requests to a particular directory, except those requests + that correspond to an existing file or script. This is often + referred to as a 'front controller.'

+

In earlier versions of httpd, this effect typically required + mod_rewrite, and the use of the -f and + -d tests for file and directory existence. This now + requires only one line of configuration.

+

+ FallbackResource /index.php +

+

Existing files, such as images, css files, and so on, will be + served normally.

+

In a sub-URI, such as http://example.com/blog/ this + sub-URI has to be supplied as local-url:

+

+ + <Directory /web/example.com/htdocs/blog>
+ + FallbackResource /blog/index.php
+
+ </Directory> +
+

diff --git a/docs/manual/mod/mod_dir.xml.ja b/docs/manual/mod/mod_dir.xml.ja index efce5938ac8..d49b37c79c8 100644 --- a/docs/manual/mod/mod_dir.xml.ja +++ b/docs/manual/mod/mod_dir.xml.ja @@ -1,7 +1,7 @@ - + + +