Recently I found a document (http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml) that describes how to make Tomcat work with Apache. I tried out the instructions on that site and it did work - I did not have to use the Tomcat web server at port 8080. However there is an issue I cannot resolve.
I am running my web server behind a router that has a single IP given by my ISP. I've got two domains mapped to this single IP and I have set up Apache to serve different content depending on the ServerName it receives from the browser. My primary domain is mapped to /var/www/html and my other domain is mapped to /var/www/html/domain2. One of the ways to test the Tomcat installation is to point the browser to http://domain/examples/ and run the sample scripts there. When I did that with http://domain/examples/, the content came up fine. When I did the same thing with http://domain2/examples/, it worked just fine as well. Apparently it was sending content from $CATALINA_HOME$/webapps/examples, not from anything under /var/www/html. What I want is to have Apache pass requests for JSP scripts to Tomcat regardless of where the scripts may be located on my filesystem (akin to PHP). I want Tomcat to just process and serve up responses to JSP requests, not ignore virtual site directives and other settings I may have in httpd.conf. Has anyone been able to get this to work? If so how did you do it? Joe (Address not included) _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list