From 5242e8c7300a7997f708a13ccb372f164202c9b7 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Mon, 9 Apr 2012 21:32:14 +0000 Subject: [PATCH] Add missing documentation for ProxyHTMLMeta directive. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1311468 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy_html.xml | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/docs/manual/mod/mod_proxy_html.xml b/docs/manual/mod/mod_proxy_html.xml index f18a55e39a..41c5ef77ae 100644 --- a/docs/manual/mod/mod_proxy_html.xml +++ b/docs/manual/mod/mod_proxy_html.xml @@ -41,6 +41,43 @@ extensive documentation may be useful to users.

+ +ProxyHTMLMeta +Turns on or off extra pre-parsing of metadata in HTML +<head> sections. +ProxyHTMLMeta On|Off +server config +virtual hostdirectory + +Version 2.4 and later; available as a third-party +module for earlier 2.x versions. + + +

This turns on or off pre-parsing of metadata in HTML + <head> sections.

+

If not required, turning ProxyHTMLMeta Off will give a small + performance boost by skipping this parse step. However, it + is sometimes necessary for internationalisation to work correctly.

+

ProxyHTMLMeta has two effects. Firstly and most importantly + it enables detection of character encodings declared in the form

+
<meta http-equiv="Content-Type" content="text/html;charset=foo">
+

or, in the case of an XHTML document, an XML declaration. + It is NOT required if the charset is declared in a real HTTP header + (which is always preferable) from the backend server, nor if the + document is utf-8 (unicode) or a subset such as ASCII. + You may also be able to dispense with it where documents use a + default declared using xml2EncDefault, but that risks propagating an + incorrect declaration. A ProxyHTMLCharsetOut + can remove that risk, but is likely to be a bigger processing + overhead than enabling ProxyHTMLMeta.

+

The other effect of enabling ProxyHTMLMeta is to parse all + <meta http-equiv=...> declarations and convert + them to real HTTP headers, in keeping with the original purpose + of this form of the HTML <meta> element.

+
+
+ ProxyHTMLEnable Turns the proxy_html filter on or off. -- 2.40.0