From fbf8d15c0717de84e1cd0bc19088746aec2e15ba Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Thu, 21 Jun 2018 20:04:56 +0000 Subject: [PATCH] Improve syntax highlight and add the default value of ProxyHTMLBufSize in the description of the directive. (r1834041 in trunk) Add a missing word to synch with trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1834050 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy_html.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/mod_proxy_html.xml b/docs/manual/mod/mod_proxy_html.xml index 5811b6eab9..8e1662f618 100644 --- a/docs/manual/mod/mod_proxy_html.xml +++ b/docs/manual/mod/mod_proxy_html.xml @@ -34,7 +34,8 @@ for earlier 2.x versions

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 ProxyPassReverse directive does for HTTP headers, and is an essential component of a reverse proxy.

For example, if a company has an application server at @@ -43,7 +44,7 @@ the company's internal network, and a public webserver 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.

@@ -223,7 +224,7 @@ in mod_proxy_html 3.x for HTTPD 2.0 and 2.2 is also supported.

virtual hostdirectory Version 2.4 and later; available as a third-party -for earlier 2.x versions +module for earlier 2.x versions

This enables per-request interpolation in @@ -252,7 +253,7 @@ according to the option selected. This option also determines whether HTML or XHTML syntax is used for output. Note that the format of the documents coming from the backend server is immaterial: the parser will deal with it automatically. If the optional second argument is set to -"Legacy", documents will be declared "Transitional", an option that may +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 @@ -345,6 +346,7 @@ filter chain if stripping comments!

Sets the buffer size increment for buffering inline scripts and stylesheets. ProxyHTMLBufSize bytes +ProxyHTMLBufSize 8192 server config virtual hostdirectory @@ -352,7 +354,7 @@ stylesheets. for earlier 2.x versions

In order to parse non-HTML content (stylesheets and scripts) embedded -in HTML documents, mod_proxy_html +in HTML documents, 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.

-- 2.40.0