tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tamsin" <tam...@anorakgirl.co.uk>
Subject apache/tomcat multiple hosts
Date Tue, 29 Oct 2002 16:39:14 GMT
hi,
i'm using apache, tomcat 4.1 and mod_jk
i have apache configured:

<VirtualHost 1.2.3.4:80>
	ServerName www.foo.com
	DocumentRoot /home/foo
	JkMount /servlet/* worker1
</VirtualHost>

and in server.xml:
<Context path="" docBase="/home/foo" debug="0" reloadable="false"
crossContext="false">
         <Logger className="org.apache.catalina.logger.FileLogger"
             prefix="foo." suffix=".txt" timestamp="true"/>
</Context>

this all works fine. however, i want to serve a copy of the foo site from
demo.foo.com

i.e. i want to add something like:
<VirtualHost 1.2.3.4:80>
	ServerName demo.foo.com
	DocumentRoot /home/foodemo
	JkMount /servlet/* worker1
</VirtualHost>


but i'm not sure how to configure tomcat for the second context? thanks for
any help,
tamsin



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


Mime
View raw message