A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Redirect a tomcat application URL and port using apache.
Joined: Jun 17, 2011
Jun 17, 2011 08:04:48
I have multiple jvm instance of
application on a unix server and its running on different port.i would like to
redirect the port and uri.How can i achieve this with the help of apache. i heard we can do it using mod_proxy.
-when the user access this url this should get redirect to
Currently when i access
i get 404 error.
one way to achieve this is to rename my exploded app name (offers-service-main) to offer. But i dont want to do that.anyway to achieve it.
This what i have done from my side.
1) installed apache 2.2 with mod_proxy
./configure --prefix=/usr/local/apache2.0 \
2) Added the below config in apache
But the above configuration dosent seems to be work. Let me know if i need to do anything on the tomcat side. Thank you
I agree. Here's the link:
subject: Redirect a tomcat application URL and port using apache.
Can't access Tomcat 7 from network
Cookies in Apache
SSL request on tomcat from apache
How to Configure Apache HTTp Server with Tomcat
Clustering Tomcat - mod_proxy
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014