From 7e3c3a718c5e1e1ca40d45c68b207c0eabe8c87d Mon Sep 17 00:00:00 2001
From: Christophe Jaillet This module provides an output filter to rewrite HTML links in a
proxy situation, to ensure that links work for users outside the proxy.
-It serves the same purpose as Apache's ProxyPassReverse directive does
+It serves the same purpose as Apache's For example, if a company has an application server at
@@ -49,7 +49,7 @@ the company's internal network, and a public webserver
In order to parse non-HTML content (stylesheets and scripts) embedded
-in HTML documents, mod_proxy_html
+in HTML documents, ProxyPassReverse
directive does
for HTTP headers, and is an essential component of a reverse proxy.www.example.com
, they may wish to provide a gateway to the
application server at http://www.example.com/appserver/
.
When the application server links to itself, those links need to be
-rewritten to work through the gateway. mod_proxy_html serves to rewrite
+rewritten to work through the gateway. mod_proxy_html
serves to rewrite
<a href="http://appserver.example.com/foo/bar.html">foobar</a>
to
<a href="http://www.example.com/appserver/foo/bar.html">foobar</a>
making it accessible from outside.Description: Sets the buffer size increment for buffering inline scripts and
stylesheets.
+Syntax: ProxyHTMLBufSize bytes
Default: ProxyHTMLBufSize 8192
Context: server config, virtual host, directory Status: Base
@@ -89,7 +90,7 @@ stylesheets.
for earlier 2.x versions
Module: mod_proxy_html mod_proxy_html
has to read the entire script or stylesheet into a buffer. This buffer will
be expanded as necessary to hold the largest script or stylesheet in a page,
in increments of bytes as set by this directive.Legacy
, documents will be declared "Transitional", an option that may
be necessary if you are proxying pre-1998 content or working with defective
authoring/publishing tools.
In the second form, it will insert your own FPI. The optional second @@ -256,7 +257,7 @@ Only use them if you know you have a broken backend server.
This enables per-request interpolation in
ProxyHTMLURLMap
to- and from- patterns.