views:

22

answers:

0

I have a deployment where Apache forwards to Tomcat running on the same system. I'm running into a situation where Apache is stripping out comments in html returned by Tomcat. This is causing lines like the following to be removed causing the js to fail on IE:

"<!--if IE><script language="javascript" type="text/javascript" src="/scripts/excanvas.js"></script><!endif>"

I have mod_rewrite, mod_proxyhtml and of course proxy_ajp. I tried adding "ProxyHTMLStripComments Off" but that doesn't seem to help.

What am I missing ?