You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dirk Versavel <di...@pandora.be> on 2001/06/06 15:03:25 UTC
Apache -> tomcats 'webapps' directory
Dear,
I'm setting up an apache->tomcat environment to run our webapplication.
The web application ('myapp.war') is stored in tomcat's webapps directory.
I have both components working: jsp's are redirected to tomcat,... works
fine.
I defined an my DocumentRoot in apache like: "/usr/local/tomcat/webapps" so
that I can access my application like: http://localhost/myapp/page.jsp
I would need to get rid of this 'myapp' in my urls!!!
I tried to define the DocumentRoot like "/usr/local/tomcat/webapps/myapp",
but then tomcat complains: "date.. - Ctx( ): 404 R( + /page.jsp + null)
JSP file not found"
It seems like the context is lost and tomcat doesn't know where to look for
the page!
Any help / suggestions are very welcome!!
Dirk Versavel