That's an idea, al inside an engine
<Host name="diarioinformacion.pruebaapache.renr.es" debug="0"
appBase="webappsInformacion"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="diarioinformacion" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="diarioInformacion." suffix=".txt"
timestamp="true"/>
</Context>
</Host>
<Host name="zamora.pruebaapache.renr.es" debug="0"
appBase="webappsZamora"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="laopiniondezamora" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="laopiniondeZamora." suffix=".txt"
timestamp="true"/>
</Context>
</Host>
Two different hosts in different directories.
------------------------------------------------
Administracion de Sistemas
[EMAIL PROTECTED]
http://www.renr.es <http://www.renr.es/>
Tel: 96.598.71.85 - Fax: 96.592.43.12
Recursos en la red, S.L.U.
Pintor Cabrera, 22 Esc. B-3o
03003 Alicante (Espana)
------------------------------------------------
-----Mensaje original-----
De: cris.moreira [mailto:[EMAIL PROTECTED]]
Enviado el: miercoles, 04 de diciembre de 2002 12:21
Para: [EMAIL PROTECTED]
Asunto: Different appBase for more virtual hosts
Hello. I'd like to know, or if you have some server.xml example to show me,
how can I configure more than one Virtual Host in Tomcat, and each host
pointing to a different directory of webapps. I know that I must set up the
parameter "appBase" in the tag <Host...></Host>, but can I have more than
one <host...> inside an <Engine> or must I create another <Service> of it?
Thanks a lot.
--
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]>