A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
regarding using tomcat and apache2.2
Joined: Oct 26, 2008
Feb 03, 2009 11:33:46
i am using tomcat5 and apache 2.2, mod_jk.so and oracle 10g as the back end data base
i am facing strange problem
when i access
from localhost if i type the ip address of the host after the request is processed by the
i am getting a url where the ip adrress is changed to local host
now when i access the servlets from remote host its browser displays it cannot display the page but when i enter the url of the static web pages i am able to access them.
i am not able to find out what is happening
Vinod K Singh
Joined: Sep 30, 2008
Feb 04, 2009 22:14:06
Not sure how you have coupled things together. Recently I published post about fronting Tomcat with Apache,
Apache in front of Tomcat and JBoss
. See if this solves your problem.
It is sorta covered in the
JavaRanch Style Guide
subject: regarding using tomcat and apache2.2
Unable to access tomcat via public ip
Servlets, Tomcat, and Apache, oh my!
Access Denied while accessing files present on same machine!
Tomcat:Works fine with localhost but not with ip
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014