> From: tb323 [mailto:[EMAIL PROTECTED] > Subject: Tomcat context issue > > In server.xml I have this: > > <Host name="localhost" > appBase="/home/tb323/projects/www/public_html/webapps" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > > This way I want to be able to start an app by going to > http://www.domain.com/webapps/appName
Normally, you wouldn't put "webapps" in the URL, since it's already part of the appBase. However, since you want to use that to route requests from httpd to Tomcat, you'll need something to strip it out along the way. A valve in Tomcat could do the job; there's probably something in httpd that will do it as well. > JkMount /*.war ajp13_worker The *.war setting is useless, since there won't be any direct requests with a .war extension. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]