Apache server as reverse proxy is removing xmlns info from html tag

Posted by Johnco on Server Fault See other posts from Server Fault or by Johnco
Published on 2010-11-29T13:43:25Z Indexed on 2012/06/05 10:42 UTC
Read the original article Hit count: 342

Filed under:
|
|
|

I have a Java application running in tomcat, in front of which I have an Apache http server as a reverse proxy.

However, the proxy is removing all xmlns data from the html tag, which breaks all the Facebook's FBML which is never parsed.

My current config is as follows:

ProxyRequests off
ProxyHTMLDocType XHTML

ProxyPassReverseCookiePath /cas /

<Location />
        ProxyPass http://localhost:8080/cas
        ProxyPassReverse http://localhost:8080/cas
</Location>

ProxyHTMLURLMap /cas /
SetOutputFilter proxy-html

<Proxy *>
        Order deny,allow
        Allow from all
        Satisfy all
</Proxy>

Thanks in advance.

© Server Fault or respective owner

Related posts about apache2

Related posts about proxy