tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tb323 <tommy.blomb...@gmail.com>
Subject Tomcat context issue
Date Thu, 03 May 2007 13:04:54 GMT

Hi there!
This is probably a dumb question if you're not a newbie like me. I just
installed Tomcat 6.0.10 on Ubuntu Feisty and I'm having some problems
configuring it. 
I'm attempting to move the appBase into a directory under my public_html. 

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
I also have Apache + Php on my server so in apache2.conf I've added :

JkMount /*.jsp ajp13_worker
JkMount /*.war ajp13_worker
JkMount /webapps/* ajp13_worker

Is there a way to avoid writing context.xmls for every webapp I place in the
appBase?
Like it is now Tomcat is looking for app at "/webapps/appName" while it
should be looking for "/appName" ..

// Tommy
-- 
View this message in context: http://www.nabble.com/Tomcat-context-issue-tf3686346.html#a10304508
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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