You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Blackmon <bi...@verizon.net> on 2002/09/27 13:40:26 UTC
Context and URL
My host has given me "/home/billblac/tomcat/build/webapps" to tack onto my
context and most paths in my file
references in web.xml and server.xml files, thus I have the following entry
in the server.xml file:
<Host name="billblackmon.com">
<Context path="/home/billblac/tomcat/build/webapps/EGPS"
docBase="/home/billblac/tomcat/build/webapps/EGPS" debug="6"
reloadable="true">
<!-- much more follows -->
</context>
</host>
The host has also given me the following entries:
<Host name="216.218.203.117">
<Context path="" docBase="/home/billblac/public_html" debug="6"/>
<Context path="/manager"
docBase="/home/billblac/tomcat/build/webapps/manager" debug="6"
privileged="true"/>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="/home/billblac/logs" prefix="access_log." suffix=".log"
pattern="common"/>
<Logger className="org.apache.catalina.logger.FileLogger"
directory="/home/billblac/logs" prefix="context_log." suffix=".log"
timestamp="true"/>
</Host>
<Host name="www.billblackmon.com">
<Context path="" docBase="/home/billblac/public_html" debug="6"/>
<Context path="/manager"
docBase="/home/billblac/tomcat/build/webapps/manager" debug="0"
privileged="true"/>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="/home/billblac/logs" prefix="access_log." suffix=".log"
pattern="common"/>
<Logger className="org.apache.catalina.logger.FileLogger"
directory="/home/billblac/logs" prefix="context_log." suffix=".log"
timestamp="true"/>
</Host>
These entries seem redundant and there is no explanation yet.
The app loads without errors in the log files. I was hoping to be able to
access the app by using the URL
billblackmon.com/EGPS but no matter what combination of paths I use in the
URL I get '404 not found' messages
in the browser.
Any hints or explanations on why I need 3 entries and why the app is not
found?
Thanks,
Bill
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>