tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenzo Jiménez <>
Subject Virtual domain problem
Date Sat, 16 Apr 2005 00:34:34 GMT


I have one domain <>  and another domain
<> .

Both domains land on the same ip.


We want to have the apps of in webapps directory, and the apps from
in webapps2.


In server.xml we have:


<Engine defaultHost="localhost" name="Catalina">

       <!-- This Host is the default Host -->

       <Host appBase="webapps" name="localhost" debug="0">

              <Logger className="org.apache.catalina.logger.FileLogger" 




              <Context path="" docBase="ROOT" debug="0"/>


       <!-- This Host is the "" -->

       <Host appBase="webapps2 " name="" debug="0">

              <Logger className="org.apache.catalina.logger.FileLogger" 




               <Context path="" docBase="Perfil" debug="0"/>


       <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>



The problem is that when he start Tomcat, when we load <>
 we land in <> .


How can we configure Tomcat so it can take the correct action depending on the domain asked?

Do we need to change the context.xml from the webapps also?


We don't have Apache installed, only Tomcat 5.


Thanks very much,




Si usted no es el destinatario indicado en este mensaje o responsable como persona 
de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor notifique 
al correo Para más referencia sobre términos importantes 
relacionados a este correo visite

If you are not the addressee indicated in this message (or responsible for delivery of the

message to such person), you may not copy or send this message to anyone, please notify
to Click here for important additional terms relating to this e-mail.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message