the config should be <Host name="billblackmon.com"> <Context path="/EGPS" docBase="/home/billblac/tomcat/build/webapps/EGPS" debug="6" reloadable="true"> <!-- much more follows --> </context> </host>
and on the browser type http://somedomain.com:yourport/EGPS -----Original Message----- From: Bill Blackmon [mailto:[EMAIL PROTECTED]] Sent: 27 September 2002 12:40 To: TOMCAT USERS GROUP Subject: 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>