Re: ask tomcat to look at a specifc folder for the root website

2012-10-17 Thread André Warnier

S Ahmed wrote:

For my deployment, I have a set directory structure that I use.

Is it possible to tell tomcat to look at a specific folder for the ROOT
website, instead of in the ../../webapps/ folder?

my folder structure is like:

/www/myappname/website/
/www/myappname/otherstuff/


I want tomcat to look in my /website/ folder.



What about appBase in
http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Common_Attributes

?

The people who write the on-line Tomcat documentation must be getting very 
frustrated today.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: ask tomcat to look at a specifc folder for the root website

2012-10-16 Thread Jeffrey Janner
 -Original Message-
 From: S Ahmed [mailto:sahmed1...@gmail.com]
 Sent: Tuesday, October 16, 2012 1:52 PM
 To: Tomcat Users List
 Subject: ask tomcat to look at a specifc folder for the root website
 
 For my deployment, I have a set directory structure that I use.
 
 Is it possible to tell tomcat to look at a specific folder for the ROOT
 website, instead of in the ../../webapps/ folder?
 
 my folder structure is like:
 
 /www/myappname/website/
 /www/myappname/otherstuff/
 
 
 I want tomcat to look in my /website/ folder.

Yes, look at the documentation for the Context tag.
You will need to manually create your ROOT.xml context file, with that specific 
name, but it is doable.
Look in the archives for this list if you need any additional help.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org