Have anyone gotten apache to forward via port 80 to tomcat using a url other than localhost? The following url works only on the host I'm running apache and tomcat.
I've reached my wits ends, hopefully someone around here can assist me. I've succesfully installed Apache 2, Tomcat 5, and the mod_jk connector on my SUSE 9.1 box.
I know apache and tomcat are working because I can pull up examples at
http://localhost and
http://localhost:8080.
I know the connector is working because I can pull up the examples at
http://localhost/examples and
http://localhost:8080/examples -- thus proving the requests are being handled by the connector.
Now comes the tricky part. If I try to remotely access this box via IP or DNS apache and tomcat still work fine at
http://123.456.78.90 and
http://123.456.78.90:8080 respectively...
HOWEVER,
http://123.456.78.90/examples DOES NOT WORK when accessed anywhere except localhost. An added note:
http://123.456.78.90:8080/examples works no problem. In the end the basic problem is HOW DO I GET THE CONNECTOR TO WORK ANYWHERE, NOT JUST ON LOCALHOST?
http://localhost/examples/jsp/
The url I really would like to use is something like:
http://www.mydomain.com/examples/jsp/
I too have reached my wits ends! And this is even with your prior knowledge. Can you help? Please!