diff options
author | Rich Bowen <rbowen@apache.org> | 2010-04-09 14:20:38 +0200 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2010-04-09 14:20:38 +0200 |
commit | 1a64036f3f4044ed3c593414dee72027c4d2811b (patch) | |
tree | 2453ec2953206dcea534805b1e4450aecb342bfd /docs/manual/urlmapping.xml | |
parent | translation metafile thingy. (diff) | |
download | apache2-1a64036f3f4044ed3c593414dee72027c4d2811b.tar.xz apache2-1a64036f3f4044ed3c593414dee72027c4d2811b.zip |
General review and updating of document. Added mention of the other
modules located in the modules/mappers directory that aren't already
mentioned, and made a note to come back and flesh this out a little
later.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@932378 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/urlmapping.xml')
-rw-r--r-- | docs/manual/urlmapping.xml | 44 |
1 files changed, 38 insertions, 6 deletions
diff --git a/docs/manual/urlmapping.xml b/docs/manual/urlmapping.xml index db6b6e090a..e316622f0c 100644 --- a/docs/manual/urlmapping.xml +++ b/docs/manual/urlmapping.xml @@ -34,11 +34,15 @@ <related> <modulelist> +<module>mod_actions</module> <module>mod_alias</module> +<module>mod_dir</module> +<module>mod_imagemap</module> +<module>mod_negotiation</module> <module>mod_proxy</module> <module>mod_rewrite</module> -<module>mod_userdir</module> <module>mod_speling</module> +<module>mod_userdir</module> <module>mod_vhost_alias</module> </modulelist> <directivelist> @@ -227,7 +231,7 @@ of the local server. This technique is called <em>reverse proxying</em> because the web server acts like a proxy server by fetching the documents from a remote server and returning them to the -client. It is different from normal proxying because, to the client, +client. It is different from normal (forward) proxying because, to the client, it appears the documents originate at the reverse proxy server.</p> <p>In the following example, when clients request documents under the @@ -253,11 +257,19 @@ directory on the local server. Similarly, the and <directive module="mod_proxy">ProxyPassReverseCookiePath</directive> rewrite cookies set by the backend server.</p> <p>It is important to note, however, that -links inside the documents will not be rewritten. So any absolute +links inside the documents will not be rewritten. So any absolute links on <code>internal.example.com</code> will result in the client breaking out of the proxy server and requesting directly from -<code>internal.example.com</code>. A third-party module -<a href="http://apache.webthing.com/mod_proxy_html/">mod_proxy_html</a> +<code>internal.example.com</code>. You can modify these links (and other +content) in a page as it is being served to the client using +<module>mod_substitute</module>.</p> + +<example> +Substitute s/internal\.example\.com/www.example.com/i +</example> + +<p>Additionally, a third-party module, +<a href="http://apache.webthing.com/mod_proxy_html/">mod_proxy_html</a>, is available to rewrite links in HTML and XHTML.</p> </section> @@ -265,7 +277,7 @@ is available to rewrite links in HTML and XHTML.</p> <p>When even more powerful substitution is required, the rewriting engine provided by <module>mod_rewrite</module> - can be useful. The directives provided by this module use + can be useful. The directives provided by this module can use characteristics of the request such as browser type or source IP address in deciding from where to serve content. In addition, mod_rewrite can use external database files or programs to @@ -316,4 +328,24 @@ is available to rewrite links in HTML and XHTML.</p> document.</p> </section> +<section id="other"><title>Other URL Mapping Modules</title> + +<!-- TODO Flesh out each of the items in the list below. --> + + <p>Other modules available for URL mapping include: + <ul> + <li><module>mod_actions</module> - Maps a request to a CGI script + based on the request method, or resource MIME type.</li> + <li><module>mod_dir</module> - Provides basic mapping of a trailing + slash into an index file such as <code>index.html</code>.</li> + <li><module>mod_imagemap</module> - Maps a request to a URL based + on where a user clicks on an image embedded in a HTML document.</li> + <li><module>mod_negotiation</module> - Selects an appropriate + document based on client preferences such as language or content + compression.</li> + </ul> + </p> + +</section> + </manualpage> |