From: Rich Bowen
Date: Mon, 12 Jun 2006 15:28:52 +0000 (+0000)
Subject: A little bit more detail, and an example, for how DocumentRoot is
X-Git-Tag: 2.3.0~2341
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25099ab25afacefaf130f1c1e69c7b8846b76cc7;p=thirdparty%2Fapache%2Fhttpd.git
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
---
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en
index 5f60d1ca9dd..90101ba1a46 100644
--- a/docs/manual/mod/core.html.en
+++ b/docs/manual/mod/core.html.en
@@ -801,8 +801,8 @@ from the web
See also
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 616430d86f0..8e377dafd21 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -770,8 +770,8 @@ from the web
The DocumentRoot should be specified without
a trailing slash.
-Mapping URLs to Filesystem
-Location
+Mapping URLs to Filesystem
+Locations
diff --git a/docs/manual/urlmapping.html.en b/docs/manual/urlmapping.html.en
index 718b04aab57..c638ecf45e8 100644
--- a/docs/manual/urlmapping.html.en
+++ b/docs/manual/urlmapping.html.en
@@ -54,6 +54,12 @@
make up the basic document tree which will be visible from the
web.
+ For example, if DocumentRoot
+ were set to /var/www/html
then a request for
+ http://www.example.com/fish/guppies.html
would result
+ in the file /var/www/html/fish/guppies.html
being
+ served to the requesting client.
+
Apache 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
@@ -62,6 +68,10 @@
be used to dynamically determine the appropriate place from which
to serve content based on the requested IP address or
hostname.
+
+ The DocumentRoot
directive
+ is set in your main server configuration file
+ (httpd.conf
) and, possibly, once per additional Virtual Host you create.
diff --git a/docs/manual/urlmapping.xml b/docs/manual/urlmapping.xml
index d7c597b7537..fc4724de582 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.
+
For example, if DocumentRoot
+ were set to /var/www/html
then a request for
+ http://www.example.com/fish/guppies.html
would result
+ in the file /var/www/html/fish/guppies.html
being
+ served to the requesting client.
+
Apache is also capable of Virtual
Hosting, where the server receives requests for more than one
host. In this case, a different
+
+ The DocumentRoot directive
+ is set in your main server configuration file
+ (httpd.conf
) and, possibly, once per additional Virtual Host you create.
Files Outside the DocumentRoot