Mapping welcome-file (index.jsp) to tomcat
Posted on 2004-09-01
I'm trying to map ALL index.jsp files through apache to tomcat.
Basically I want to be able to create subdirs in my tomcat root context and just throw an index.jsp in there without having to map the directory in workers2.properties.
in httpd.conf -
in workers2.properties -
Now I want to create a folder/file in my tomcat context like this:
When i do this, I can hit: http://www.mydomain.com/ and it picks up the index.jsp and forwards to tomcat just fine.
But when i hit: http://www.mydomain.com/testdir/ I get a 404 from apache. (not forwarding to tomcat)
anyone know how i can resolve this without having to map every subdirectory in workers2.properties?