From: Rich Bowen Date: Fri, 26 Apr 2013 01:40:09 +0000 (+0000) Subject: Rebuild urlmapping doc X-Git-Tag: 2.5.0-alpha~5539 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b9f3970bb0a466ba1cbf407ffe1bf93755ed3f3;p=apache Rebuild urlmapping doc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1476017 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/urlmapping.html.en b/docs/manual/urlmapping.html.en index b39c72db9a..1395d42811 100644 --- a/docs/manual/urlmapping.html.en +++ b/docs/manual/urlmapping.html.en @@ -46,7 +46,7 @@

Related Modules and Directives

- +
top

DocumentRoot

@@ -66,6 +66,25 @@ in the file /var/www/html/fish/guppies.html being served to the requesting client.

+

If a directory is requested (i.e. a path ending with + /), the file served from that directory is defined by + the DirectoryIndex directive. + For example, if DocumentRoot were set as above, and + you were to set:

+ +

DirectoryIndex index.html index.php

+ +

Then a request for http://www.example.com/fish/ will + cause httpd to attempt to serve the file + /var/www/html/fish/index.html. In the event that + that file didn't exist, it will next attempt to serve file file + /var/www/html/fish/index.php.

+ +

If neither of these files existed, the next step would be to + attempt to provide a directory index, if + mod_autoindex were loaded and configured to permit + that.

+

httpd is also capable of Virtual Hosting, where the server receives requests for more than one host. In this case, a different DocumentRoot can be specified for each diff --git a/docs/manual/urlmapping.xml b/docs/manual/urlmapping.xml index 18c8bdbfe3..db37e2c8f6 100644 --- a/docs/manual/urlmapping.xml +++ b/docs/manual/urlmapping.xml @@ -102,7 +102,7 @@

If neither of these files existed, the next step would be to attempt to provide a directory index, if - mod_autoindex were loaded and configured to permit + mod_autoindex were loaded and configured to permit that.

httpd is also capable of Virtual