I have JBoss as application server and Apache as webserver (serves php pages, etc). To transfer requests to my Java web application, mod_proxy is used. Everything is fine, except AJAX calls submitted in UTF-8 encoding (I am using Prototype JavaScipt framework).
I tried everything - changed 'content-type' in different ways, nothing helped.
If I run application on JBoss without Apache and mod proxy, everything is fine. So, seems like ir is is mod_proxy problem, but I cant understand what I am doing wrong. How can mod_proxy change the encoding?
Is there workarround to this problem? Somebody had such problems?
Is there other way how to redirect from Apache to JBoss?