tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barthélémy TEHAM <te...@yahoo.fr>
Subject Re: Default home for server
Date Sat, 28 Apr 2001 08:19:27 GMT



--- Krishna Kant T <krishnakant@compulsesys.com> a écrit : > hi guys
> 
> i need to set a jsp present in webapps/ROOT/myDir as the default home page
> for the server. i have tried
> setting it in web.xml as follows
You have to change your DocumentRoot path in the configuration file
of your web server
If you use Apache server:
change the line 
DocumentRoot "old_path" with
DocumentRoot "<tomcat_home>/webapps/ROOT/myDir"
 
And add in directive DirectoryIndex home.jsp

You also have to configure your Directory in Apache configuration file


=====
Barthélémy TEHAM - 
E-mail : teham@yahoo.fr
Website: http://teham.free.fr

___________________________________________________________
Do You Yahoo!? -- Pour faire vos courses sur le Net, 
Yahoo! Shopping : http://fr.shopping.yahoo.com

Mime
View raw message