Hello,
I am using Jakarta
Tomcat 5.0.28 as my webserver for "MyApp" in "MyCompany". It handles some static content, some
applets, some
servlets and some
jsp - for normal users of internet.
A challenge arises:
"MyApp" now needs to show webpages that reside on another server, "OtherApp" (ASP running on MS IIS 6.0), but still in the same company. Normally "MyApp" would just open a new browser window with URL of "OtherApp" - BUT: "OtherApp"'s server is not accessible from internet; it is only accessible from servers within "MyCompany"'s domain.
"MyApp" can communicate with "OtherApp", internet-users can communicate with "MyApp", but internet-users cannot communicate with "OtherApp".
"Proxy" rings a bell, for example that all requests to:
www.mycompany.com/myapp/otherapp/* will be routed to "OtherApp". As far as I know, Tomcat doesn't have this kind of proxy-ability.
I tried Tomcat's balancer-application, but it seemingly only redirects the request to "OtherApp", so internet-user communicates directly with "OtherApp" which isn't possible.
Is it possible to set up Tomcat to be a proxy server the way I want? Or do I need Apache webserver too, and would that be an easy set-up?
Is another possibility creating a servlet to act as a proxy? Does this exist already for download? Is it feasible even when "OtherApp" has dynamic content with forms and choices?
Any help would be greatly appreciated!