posted 22 years ago
When you make an HTTP request without a port number it assumes port 80, which is where Apache listens. Tomcat is listening on port 8080. To route the port 80 request to Tomcat you need one of the Apache tomcat pipeline modules, which will not only pass the request to Tomcat, but will handle translation from a URL to a Tomcat application context.
For Tomcat 3, use mod_jk (recommended) or mod_jserv
For Tomcat 4, use mod_webapp. Be careful! there are SEVERAL DIFFERENT *OBSOLETE* sets of documentation for mod_webapp! They've changed the directives several times and I'm not sure the "current" documentation has been updated yet.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.