I am currently hosting 2 web applications on the same Apache server. Let’s just call, them A and B. I was using JSONP to make cross domain ajax calls from A to B (I needed some data from B). The problem became apparent with this method when my request got too big and GET simply wouldn’t work; I needed to use a POST request.
I installed mod_proxy and configured my Apache web server to act as a reverse proxy as illustrated here: http://bit.ly/rpeWJI . This worked beautifully with GET requests, but I am still unable to get POST requests to work properly. Can someone help me?
As a side note, I am using the Pylons web framework for my web applications.
May I suggest using nginx instead of Apache. Here is an example config: