When using mod_proxy and mod_proxy_html my css is changed for my Seam webapp

Solution Unverified - Updated -


  • I'm configuring a reverse proxy in front of our application server which is using seam.  I am also using the third party module mod_proxy_html to allows for content modification. When I render the page when using the proxy server it looks different than if I had accessed it directly.


  • JBoss Enterprise Application Platform (EAP)
    • 4
    • 5
  • JBoss Enterprise Web Server (EWS)
    • 1.0.1
  • mod_proxy
  • mod_proxy_html
  • additional configuration:

    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
    ProxyHTMLEvents    onclick ondblclick onmousedown onmouseup \
            onmouseover onmousemove onmouseout onkeypress \
            onkeydown onkeyup onfocus onblur onload \
            onunload onsubmit onreset onselect onchange
    ProxyRequests Off
    ProxyPass /webapp/ http://localhost:8080/
    ProxyHTMLURLMap http://localhost:8080/ /webapp/
    <Location /webapp/>
        ProxyPassReverse /
        ProxyHTMLEnable On
        ProxyHTMLURLMap / /webapp/
        RequestHeader unset Accept-Encoding
        ProxyHTMLLogVerbose On

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content