We have the following setup in one of our production system.
External world --> HardWare LoadBalancer --> Apache 2.0 --> Weblogic 7.0
Apache 2.0 and Weblogic talk to each other using the standard plugin provided by BEA. We are using one more protocol called Webdav (Which is nothing but a wrapper around http protocol). This protocol is not understandable by apache-weblogic plugin. So we are running into problems.
The only way to circumvent this problem is to bypass apache and directly contact weblogic. Please note that we can't change the URL of the external world at any cost. So we thought of using mod_rewrite in apache. The basic idea is simple as follows.
for ex : http://myserver.com/PF.jsp
will get translated to http://myserver.com:7001/PF.jsp
The problem with this approach is that, it will do a redirect. And this will be a problem if we use loadbalancer. All the machines are within (demilitarized zone and all start with 10.x ip which is not exposed to external world). Even the apache machine will receive 10.x.x.x.
So the question is ...Is it possible to have mod_rewrite without external redirect??? Can apache rewrite the url, get the response from weblogic and send it back to the client??
Please let me know in case I need to explain this better. Any thoughts on this will be of great help.