summaryrefslogtreecommitdiffstats
path: root/docs/manual/urlmapping.xml
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2006-06-12 17:28:52 +0200
committerRich Bowen <rbowen@apache.org>2006-06-12 17:28:52 +0200
commit25099ab25afacefaf130f1c1e69c7b8846b76cc7 (patch)
tree6b3dcf5180d97883564af9b5b60aa82a3fabbce1 /docs/manual/urlmapping.xml
parentTypo correction. (diff)
downloadapache2-25099ab25afacefaf130f1c1e69c7b8846b76cc7.tar.xz
apache2-25099ab25afacefaf130f1c1e69c7b8846b76cc7.zip
A little bit more detail, and an example, for how DocumentRoot is
handled. Examples good. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@413683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/urlmapping.xml')
-rw-r--r--docs/manual/urlmapping.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/manual/urlmapping.xml b/docs/manual/urlmapping.xml
index d7c597b753..fc4724de58 100644
--- a/docs/manual/urlmapping.xml
+++ b/docs/manual/urlmapping.xml
@@ -74,6 +74,12 @@
make up the basic document tree which will be visible from the
web.</p>
+ <p>For example, if <directive module="core">DocumentRoot</directive>
+ were set to <code>/var/www/html</code> then a request for
+ <code>http://www.example.com/fish/guppies.html</code> would result
+ in the file <code>/var/www/html/fish/guppies.html</code> being
+ served to the requesting client.</p>
+
<p>Apache is also capable of <a href="vhosts/">Virtual
Hosting</a>, where the server receives requests for more than one
host. In this case, a different <directive
@@ -83,6 +89,11 @@
be used to dynamically determine the appropriate place from which
to serve content based on the requested IP address or
hostname.</p>
+
+ <p>The <directive module="core">DocumentRoot</directive> directive
+ is set in your main server configuration file
+ (<code>httpd.conf</code>) and, possibly, once per additional <a
+ href="vhosts/">Virtual Host</a> you create.</p>
</section>
<section id="outside"><title>Files Outside the DocumentRoot</title>