Hi actually the reason I asked this problem is I had tried what you are saying.
When I had used it as
Code:
ProxyPass /app http://x.x.x.x:8080/app
ProxyPassReverse /app http://x.x.x.x:8080/app
on internet if a client browser requested some thing as
http://www.mydomain.com/app/path/to/some/image/
I expect it to internally be forwarded as
Code:
/app http://x.x.x.:8080/app
in the URL where ever application at
is having an element in path as /app then it is able to connect but there
are many requests which are generated at B as
Code:
GET /library/skin/default/portal.css
GET /portal/styles/portalstyles.css
GET /library/js/jquery.js
which are not having /app word in URL path so what happens is
if a requests is
http://www.mydomain.com/app/path/to/some/image/
it is served but if a request for
http://www.mydomain.com/app
is generating a URL as
http://www.mydomain.com/library/js/jquery.js
then the request dies at A itself since /library would not be Proxied to B.
My problem is the application is generating how many URL's like this that is not known to me.
Some one suggested me to use Apache as a front end to Tomcat so I googled across and came some links.
Tried some configurations which I think were wrong so wanted if this way some one has used and they can share how they did it.