From: Christophe Jaillet
Date: Thu, 21 Jun 2018 18:18:35 +0000 (+0000)
Subject: Improve syntax highlight and add the default value of ProxyHTMLBufSize in the descrip...
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9c8dc1c0bde8572faf5a66eba821d1018a2c180;p=apache
Improve syntax highlight and add the default value of ProxyHTMLBufSize in the description of the directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1834041 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_proxy_html.xml b/docs/manual/mod/mod_proxy_html.xml
index ddb8cb56a3..480a8060b1 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.
@@ -313,7 +314,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
@@ -406,6 +407,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
@@ -413,7 +415,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.