Tomcat supports either directly deploying WAR files to the webapps directory or deploying contexts. Deploying XML describing a context gives an opportunity pass configuration details to reviki.

Further details can be found in [[http://tomcat.apache.org/tomcat-6.0-doc/config/context.html|the tomcat documentation]].

Currently the only contextAn example context file is in SVN [[http://svn.reviki.org/svn/reviki/trunk/context.xml|here]]. You'll probably want to change the docBase and Parameter value to absolute paths and copy it to tomcat/conf/Catalina/localhost/reviki.xml.

==Configuration
parameter is {{{s
===
reviki-data-dir}}}.

This should be a the path to a directory where reviki can store its data. If this is not provided 'reviki-data' in the home directory of the user running tomcat will be used.

An example context file is in SVN [[http://svn.reviki.org/svn/reviki/trunk/context.xml|here]]. You'll probably want to change the docBase and Parameter value to absolute paths and copy it to tomcat/conf/Catalina/localhost/reviki.xml===javax.servlet.jsp.jstl.fmt.timeZone

This configures the timezone in which date / times are output to the user.
Example values: US/Central, Europe/London
.