I'd appreciate that any of you could help me on this. I've just downloaded TOMCAT 4.1.12 and Apache HTTP server and they're running fine separately ( http://localhost and http://localhost:80 go to Apache and http://localhost:8080 goes to Tomcat) My question is that how do I make them running together? For example, sending static request to Apache and dynamic one to TOMCAT. Do I need to do configure it manually (using mod_webapp connector???) or has it already been set up by TOMCAT? Thanks again in advance! joe
You set up a pipeline from Apache to Tomcat using a connector such as mod_jk, mod_webapp or the new coyote connector. Most of the info goes in the apache config file so that Apache knows what URIs to decode into tomcat requests and how to transmit them to Tomcat. The Tomcat server may need some worker definitions and a server.xml entry. Check out the version of the "Tomcat Apache HOWTO" in the documentation for the version of Tomcat you're using at jakarta.apache.org/tomcat.
Customer surveys are for companies who didn't pay proper attention to begin with.
tumbleweed and gunslinger
Joined: Jun 29, 2001
I've been trying to get Apache to work with Tomcat for months, scoured the web, even won a book here, and can't get it work. I've even rebuilt a brand new box, run a clean install of both Apache and Tomcat, copy-pasted from someone who swore their config worked, and it still didn't work. Not even the basic "examples" came up. TO make a liar out of me, someone is gonna have to physically show me a box where it's running. I finally gave up and installed Resin. Worked first time through, has an auto confi. app for apache, IIS, other. Also, unless you are trying to run other things (CGI, PHP, etc.) or you need the speed for rendering static that apache provides, why not just run Tomcat standalone?