tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergio Stateri Jr" <stat...@tesla.com.br>
Subject RES: [Tomcat-users] Tomcat on more than one domain.
Date Tue, 17 Oct 2000 11:10:00 GMT
Sorry, I don't know anything about IIS + Tomcat.


Sergio Stateri Jr
stateri@tesla.com.br
Tesla Tecnologia
Sao Paulo (SP) Brazil

-----Mensagem original-----
De: tomcat-users-admin@lists.real-time.com
[mailto:tomcat-users-admin@lists.real-time.com]Em nome de Dave Finch
Enviada em: Segunda-feira, 16 de Outubro de 2000 17:54
Para: tomcat-user@jakarta.apache.org
Assunto: RE: [Tomcat-users] Tomcat on more than one domain.

I am using IIS that has four ip addresses / domain names and I want to be
able to put JSPs and Servlets in the respective web root.
I have it configured so any domain can run JSPs and Servlets but they all
have to be in one location.
TIA

-----Original Message-----
From: Sergio Stateri Jr [mailto:stateri@tesla.com.br]
Sent: Monday, October 16, 2000 4:59 PM
To: tomcat-user@jakarta.apache.org
Subject: RES: [Tomcat-users] Tomcat on more than one domain.


Hmmm... Are you trying to use the Tomcat's web Server (port 8080) or Apache
Web Server + Tomcat as JSP/Servlet Container ? If your answer is the second,
then here's a piece of Apache's httpd.conf to set more than one domain in
the same host directing to two instances of tomcat :

NameVirtualHost 192.168.0.13:80

<VirtualHost 192.168.0.13:80>
ServerName www.site1.com.br
ApJServMount / ajpv12://192.168.0.13:8007
</VirtualHost>

<VirtualHost 192.168.0.13:80>
ServerName www.site2.com.br
ApJServMount / ajpv12://192.168.0.13:8008
</VirtualHost>

   The first domain (www.site1.com.br) is redirecting its requests to Tomcat
in 192.168.0.13 port 8007, and the second domain (www.site2.com.br) is
redirecting its request to Tomcat in 192.168.0.13 (same host, but could be
another) port 8008. Mod Jserv is need to run this configuration. The ports
8007 and 8008 are set in the server.xml of each Tomcat. Here's a piece of
Tomcat's server.xml file :

        <Connector className="org.apache.tomcat.service.SimpleTcpConnector">
            <Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
            <Parameter name="port" value="8007"/>
        </Connector>



Sergio Stateri Jr
stateri@tesla.com.br
Tesla Tecnologia
Sao Paulo (SP) Brazil

-----Mensagem original-----
De: tomcat-users-admin@lists.real-time.com
[mailto:tomcat-users-admin@lists.real-time.com]Em nome de Scott Hopkinson
Enviada em: Segunda-feira, 16 de Outubro de 2000 10:10
Para: tomcat-user@jakarta.apache.org
Assunto: [Tomcat-users] Tomcat on more than one domain.

I was wondering if anyone has successfully configured Tomcat on more than
one domain.  I have tried adding multiple hosts in  the server.xml
configuration file, but it does not seem to work. Am I missing something ,
is there more to setting up multiple domains than I am seeing.



Thanks
Scott Hopkinson



_______________________________________________
tomcat-users mailing list
tomcat-users@lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/tomcat-users
_______________________________________________
tomcat-users mailing list
tomcat-users@lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/tomcat-users


Mime
View raw message