httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Schulman <>
Subject [users@httpd] mod_proxy_html: strange mangled output
Date Tue, 06 Jul 2010 08:34:44 GMT
Hi.  mod_proxy_html 3.1.2 with Apache 2.2.3.  mod_proxy_html seems to be
mangling the output in some of my HTML links.

My configuration is:

ProxyHTMLLinks  a               href
ProxyHTMLLinks  area            href
ProxyHTMLLinks  base            href
ProxyHTMLLinks  blockquote      cite
ProxyHTMLLinks  del             cite
ProxyHTMLLinks  form            action
ProxyHTMLLinks  head            profile
ProxyHTMLLinks  iframe          src
ProxyHTMLLinks  img             src longdesc usemap
ProxyHTMLLinks  input           src usemap
ProxyHTMLLinks  ins             cite
ProxyHTMLLinks  link            href
ProxyHTMLLinks  object          classid codebase data usemap
ProxyHTMLLinks  q               cite
ProxyHTMLLinks  script          src for

ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
                onmouseover onmousemove onmouseout onkeypress \
                onkeydown onkeyup onfocus onblur onload \
                onunload onsubmit onreset onselect onchange

AddOutputFilter proxy-html html cgi php

ProxyHTMLInterp   On
ProxyHTMLExtended On
ProxyHTMLDoctype  XHTML Legacy
ProxyHTMLLogVerbose Off

ProxyHTMLURLMap /  /bzr/${BRANCH}/  Vc

For the most part this works as intended, prepending e.g. /bzr/trunk when
BRANCH=trunk onto my absolute link targets.  But links in some events are
getting mangled.  In particular, the following tag:

<a href="#"
return true">

gets rendered as:

<a href="#"
return true">

So /bzr/trunk is getting prepended to the link target, which is good, but at the
same time, one instance each of the letters i and d are also getting replaced by
/bzr/trunk.  The result is a mangled, broken link.

Any help would be much appreciated.  Right now I'm looking into using mod_sed to
rewrite around this problem.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message