From 635e90cbdd07ce504848860bb06aaeec17a84961 Mon Sep 17 00:00:00 2001
From: Rich Bowen
This document explains how Apache uses the URL of a request +
This document explains how the Apache HTTP Server uses the URL of a request to determine the filesystem location from which to serve a file.
@@ -47,7 +47,7 @@In deciding what file to serve for a given request, Apache's +
In deciding what file to serve for a given request, httpd's
default behavior is to take the URL-Path for the request (the part
of the URL following the hostname and port) and add it to the end
of the DocumentRoot
specified
@@ -62,7 +62,7 @@
in the file /var/www/html/fish/guppies.html
being
served to the requesting client.
Apache is also capable of Virtual
+ httpd is also capable of Virtual
Hosting, where the server receives requests for more than one
host. In this case, a different There are frequently circumstances where it is necessary to
allow web access to parts of the filesystem that are not strictly
- underneath the The configuration directives discussed in the above sections
- tell Apache to get content from a specific place in the filesystem
+ tell httpd to get content from a specific place in the filesystem
and return it to the client. Sometimes, it is desirable instead to
inform the client that the requested content is located at a
different URL, and instruct the client to make a new request with
@@ -179,7 +179,7 @@
substituted for Apache also provides a httpd also provides a Apache also allows you to bring remote documents into the URL space
+ httpd also allows you to bring remote documents into the URL space
of the local server. This technique is called reverse
proxying because the web server acts like a proxy server by
fetching the documents from a remote server and returning them to the
@@ -262,7 +262,7 @@ is available to rewrite links in HTML and XHTML. Another common cause of "File Not Found" errors is
accidental mistyping of URLs, either directly in the browser,
- or in HTML links. Apache provides the module
+ or in HTML links. httpd provides the module
If all attempts to locate the content fail, Apache returns
+ If all attempts to locate the content fail, httpd returns
an error page with HTTP status code 404 (file not found). The
appearance of this page is controlled with the
DocumentRoot
can be specified for each
virtual host, or alternatively, the directives provided by the
@@ -80,10 +80,10 @@
DocumentRoot
. Apache offers several
+ underneath the DocumentRoot
. httpd offers several
different ways to accomplish this. On Unix systems, symbolic links
can bring other parts of the filesystem under the DocumentRoot
. For security reasons,
- Apache will follow symbolic links only if the Options
setting for the relevant
+ httpd will follow symbolic links only if the Options
setting for the relevant
directory includes FollowSymLinks
or
SymLinksIfOwnerMatch
.URL Redirection
/foo/
. You can redirect clients to
any server, not only the origin server.RedirectMatch
directive for more
+ RedirectMatch
directive for more
complicated rewriting problems. For example, to redirect requests
for the site home page to a different site, but leave all other
requests alone, use the following configuration:Reverse Proxy
-mod_speling
(sic) to help with
this problem. When this module is activated, it will intercept
"File Not Found" errors and look for a resource with a similar
@@ -280,7 +280,7 @@ is available to rewrite links in HTML and XHTML.ErrorDocument
directive
diff --git a/docs/manual/urlmapping.xml b/docs/manual/urlmapping.xml
index 289ca24126..24554b879a 100644
--- a/docs/manual/urlmapping.xml
+++ b/docs/manual/urlmapping.xml
@@ -4,7 +4,7 @@