tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat context issue
Date Thu, 03 May 2007 13:32:09 GMT
> From: tb323 [mailto:tommy.blomberg@gmail.com] 
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message