This question's probably been asked a hundred times but it's new to me and I
haven't found anything directly helpful in my newbieness. I have a servlet
running on Tomcat on a remote machine. The application is a web site. What I
want to do is have some links on the index page that go to a secure
On Mon, Sep 22, 2008 at 8:35 AM, DeanM [EMAIL PROTECTED] wrote:
So, question is, how do I set up a mechanism so that you click on a link on
the index page for the URL you want, Tomcat takes this and sends the request
to the secure server, the secure server sends the page(s) back to Tomcat and
You need to write (or find) a proxy/reverse-proxy servlet.
Alternatively, you could use Apache httpd that purpose. More moving
parts, but possibly less work. :-)
So you mean set up Apache and have Tomcat plug in to it? In other words,
make Apache the front end my browser talks to, instead of
On Mon, Sep 22, 2008 at 10:46 AM, DeanM [EMAIL PROTECTED] wrote:
You need to write (or find) a proxy/reverse-proxy servlet.
Alternatively, you could use Apache httpd that purpose. More moving
parts, but possibly less work. :-)
So you mean set up Apache and have Tomcat plug in to it? In
jlar310 wrote:
Not exactly. The Apache proxy would be independent of Tomcat. Your
link in the servlet would simply link to the local, proxied address
served by Apache.
See ProxyPass and ProxyPassReverse in the Apache docs.
OK thanks I'll go and have a read.
--
View this message in