From 7b08b0d96c8ab4ef5afb513e7c9311784adb0614 Mon Sep 17 00:00:00 2001
From: Luca Toscano
Date: Sun, 11 Sep 2016 20:48:18 +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/trunk@1760278 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 784fd5ffef..1498e860cf 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.
@@ -389,13 +392,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.50.1