Reviewing Site Context

The default site context is set by the file /var/tomcat4/conf/sites.xml.d/site<n>.xml.

The contents of the file site<n>.xml are:

< Host name="myco.com" appbase="/home/virtual/site< n>/fst/var/www/html">
< Alias>www.myco.com< /Alias>
< !-- Global logger unless overridden at lower levels -->
< Logger className="org.apache.catalina.logger.FileLogger"
directory="/home/virtual/site< n>/fst/var/log"
prefix="tomcat4_log."
timestamp="true"/>
< Realm className="org.apache.catalina.realm.MemoryRealm" />
            < Context path=""
docBase="/home/virtual/site< n>/fst/var/www/html"
crossContext="false"
reloadable="true" />
sinclude(`/var/tomcat4/conf/sites.xml.d/site< n>.xml.custom')
< /Host>

The default context for myco.com is /var/www/html in the domain file system of myco.com. This file appends to the file server.xml.