Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

Just use below line in configuration file.

<Location> 
xml2StartParse      element     HTML
</Location>

This will stops the modification done in your html file.

share|improve this answer

From what I've read, the SetOutputFilter proxy-html has been superseded by ProxyHTMLEnable On

share|improve this answer
    
That's on mod-proxy 3.1, we are using 3.0 –  Johnco Nov 29 '10 at 16:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.