Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_proxy_ajp problem with http POST requests |
|
Author |
|
richt
Joined: 23 May 2007 Posts: 1 Location: London, UK
|
Posted: Wed 23 May '07 12:01 Post subject: mod_proxy_ajp problem with http POST requests |
|
|
My configuration is this, all on one server:
Apache receives requests on port 80.
mod_proxy_ajp should pass all virtual folder 'projectName' to Tomcat as it is mainly .jsp pages.
From any browser, this works for normal html pages, it works for basic jsp pages, etc so I know the proxy links are all fine.
However, some flash files and seperate Java applications which use http 'POST' commands to a .jsp page fail to get passed to Tomcat. Apache is rejecting them. http 'GET' commands work absolutely fine though.
In my .conf file I have a virtual folder configure fine and I'm using this to handle the proxy:
ProxyPass /projectName ajp://localhost:8009/projectName
ProxyPassReverse /projectName ajp://localhost:8009/projectName
mod_proxy and mod_proxy_ajp are both loaded.
Is there some setting I have missed somewhere stopping this traffic?..or is it not possible?. |
|
Back to top |
|
|
|
|
|
|