tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Raible" <m...@raibledesigns.com>
Subject 2 Hosts: 2nd one tries to load the first's XML files
Date Thu, 04 Dec 2003 23:47:22 GMT
I have two domains that I host with tomcat - raible.net and
raibledesigns.com.  In $CATALINA_HOME/conf/Catalina/raible.net - no XML
files exist.  In Catalina/raibledesigns.com, I have many XML files for
the differents apps I host.  However, it seems that raible.net is trying
to load all the apps from raibledesigns.com.  How can I prevent this
from happening? My config is below.  I tried changing the appBase of
raible.net to webapps/raiblenet and the docBase (on the Context) to "",
but that resulted in an IndexOutOfBounds Error.


      <!-- Define the default virtual host -->
      <Host name="raibledesigns.com" debug="0" appBase="webapps" 
        unpackWARs="true" autoDeploy="true">
        <Alias>www.raibledesigns.com</Alias>
        <Alias>raible.kgbinternet.com</Alias>
    
        <Logger className="org.apache.catalina.logger.FileLogger"
          directory="logs"  prefix="localhost_log." suffix=".txt"
          timestamp="true"/>
      </Host>

      <Host name="raible.net" debug="0" appBase="webapps"
unpackWARs="true">
        <Alias>www.raible.net</Alias>
        <Alias>raiblenet.kgbinternet.com</Alias>
        
        <!-- Tomcat raible.net Context -->
        <Context path="" docBase="raiblenet" debug="0"
allowLinking="true"/>
      </Host>

Thanks,

Matt



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message