The mapping for file extensions to tomcat is missing. Typically this is in a configuration file, I use mod_jk, so in my case I've got it in a mod_jk.conf file. Your webapp's configuration in the file should look something like this:
Alias /imw "/web_app/tomcat/webapps/imw" <Directory "/web_app/tomcat/webapps/imw"> Options Indexes FollowSymLinks </Directory> JkMount /imw/* ajp13 <Location "/imw/WEB-INF/"> AllowOverride None deny from all </Location> This isn't the best example as I've been lazy and told apache to pass all requests for "imw" to tomcat for handling, you can change the JkMount line to specify the file masks for the files to be routed to tomcat. Typically you'd want to map all *.jsp, *.do, etc to tomcat. That'd look something like this: JkMount /imw/*.jsp ajp13 JkMount /imw/*.do ajp13 You can have as many JkMount statements as you want (within reason), in most cases you'll find that you don't need more than 5 or 6. Generally getting *.jsp and *.do (assuming you're using struts) should do it. If you have a servlet that handles all requests for a given subdirectory you can do that by just adding the directory after the context and then having * for the file match. --mikej -=----- mike jackson [EMAIL PROTECTED] -----Original Message----- From: James Pohl [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 2:42 PM To: [EMAIL PROTECTED] Subject: Apache miss handling jsp files I have tomcat 4 installed on a RedHat based server. I have aliases set up for a test domain. The site works fine when going to the test domain :8080, but when I try to go to the site without port :8080 the original tomcat page comes up. So it seems tomcat is working properly because the 8080 port answers correctly. So when apache answers it seems to ignore the DocumentRoot's index.jsp and serves the tomcat page. If I go to a phpinfo.php page within the DocumentRoot apache will answer properly. Can someone shed some light as to what I'm missing in the server set up. Thank you in advance for any help you can provide --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]