Commit b4e78e9d authored by Luca Toscano's avatar Luca Toscano
Browse files

mod_proxy_html doc - Added a reference of ProxyHTMLLinks in the...

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
parent 21fc0afb
Loading
Loading
Loading
Loading
+28 −5
Original line number Diff line number Diff line
@@ -127,8 +127,11 @@ module for earlier 2.x versions.</compatibility>
<p>This is the key directive for rewriting HTML links. When parsing a document,
whenever a link target matches <var>from-pattern</var>, the matching
portion will be rewritten to <var>to-pattern</var>, as modified by any
flags supplied and by the <directive>ProxyHTMLExtended</directive>
directive.</p>
flags supplied and by the 
<directive module="mod_proxy_html">ProxyHTMLExtended</directive> directive.
Only the elements specified using
the <directive module="mod_proxy_html">ProxyHTMLLinks</directive> directive
will be considered as HTML links.</p>

<p>The optional third argument may define any of the following
<strong>Flags</strong>.  Flags are case-sensitive.</p>
@@ -386,13 +389,33 @@ and defines the events in standard HTML 4 and XHTML 1.</p>
for earlier 2.x versions</compatibility>
<usage>
<p>Specifies elements that have URL attributes that should be rewritten
using standard <directive>ProxyHTMLURLMap</directive>s.  You will need one
ProxyHTMLLinks directive per element, but it can have any number of attributes.</p>
using standard <directive module="mod_proxy_html">ProxyHTMLURLMap</directive>s.
You will need one ProxyHTMLLinks directive per element,
but it can have any number of attributes.</p>
<p>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.</p>
<p>A default configuration is supplied in <var>proxy-html.conf</var>
and defines the HTML links for standard HTML 4 and XHTML 1.</p>
<example>
<title>Examples from proxy-html.conf</title>
<highlight language="config">
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
</highlight>
</example>
</usage>
</directivesynopsis>