From 54789c07a901b84cfa17f8775e2e01caa31a340d Mon Sep 17 00:00:00 2001 From: Luca Toscano Date: Tue, 13 Sep 2016 06:24:08 +0000 Subject: [PATCH] mod_proxy_html doc - Added a reference of ProxyHTMLLinks in the ProxyHTMLURLMap description and some examples. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1760479 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy_html.xml | 33 +++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/mod_proxy_html.xml b/docs/manual/mod/mod_proxy_html.xml index eeed13e5f9..bc0ee6e49e 100644 --- a/docs/manual/mod/mod_proxy_html.xml +++ b/docs/manual/mod/mod_proxy_html.xml @@ -124,11 +124,14 @@ module for earlier 2.x versions. module for earlier 2.x versions. -

This is the key directive for rewriting HTML links. When parsing a document, +

This is the key directive for rewriting HTML links. When parsing a document, whenever a link target matches from-pattern, the matching portion will be rewritten to to-pattern, as modified by any -flags supplied and by the ProxyHTMLExtended -directive.

+flags supplied and by the +ProxyHTMLExtended directive. +Only the elements specified using +the ProxyHTMLLinks directive +will be considered as HTML links.

The optional third argument may define any of the following Flags. Flags are case-sensitive.

@@ -386,13 +389,33 @@ and defines the events in standard HTML 4 and XHTML 1.

for earlier 2.x versions

Specifies elements that have URL attributes that should be rewritten -using standard ProxyHTMLURLMaps. You will need one -ProxyHTMLLinks directive per element, but it can have any number of attributes.

+using standard ProxyHTMLURLMaps. +You will need one ProxyHTMLLinks directive per element, +but it can have any number of attributes.

Normally you'll set this globally. If you set ProxyHTMLLinks in more than one scope so that one overrides the other, you'll need to specify a complete set in each of those scopes.

A default configuration is supplied in proxy-html.conf and defines the HTML links for standard HTML 4 and XHTML 1.

+ +Examples from proxy-html.conf + +ProxyHTMLLinks a href +ProxyHTMLLinks area href +ProxyHTMLLinks link href +ProxyHTMLLinks img src longdesc usemap +ProxyHTMLLinks object classid codebase data usemap +ProxyHTMLLinks q cite +ProxyHTMLLinks blockquote cite +ProxyHTMLLinks ins cite +ProxyHTMLLinks del cite +ProxyHTMLLinks form action +ProxyHTMLLinks input src usemap +ProxyHTMLLinks head profile +ProxyHTMLLinks base href +ProxyHTMLLinks script src for + +
-- 2.49.0