You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by naveen <na...@ibro.co.jp> on 2001/09/18 10:08:46 UTC

jsp page as start page!

I am using apache and tomcat configuration, I have modified my tomcat.conf
as shown below and renamed it to tomcat-custom.conf, i have given a link to
this file in httpd.conf of apache web server.
To make tomcat as the the server processing the base requests(ex.
www.myserver.com/) I have deleted index.html in htdocs directory of apache.
    When I access www.myserver.com/index.jsp, I get my file in tomcat ROOT
context.
But when I access my server as www.myserver.com/, I get "cannot find server
error".
I havent modified anything in server.xml, web.xml, httpd.conf, other than
including a link to tomcat-custom.conf file in the end of httpd.conf.
Am I missing something?



#################### All jsp files will go to tomcat ####################
ApJServMount default /root

AddType text/jsp .jsp
AddHandler jserv-servlet .jsp

############################## Context mapping - all requests go to tomcat

ApJServMount / /root