You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by pascal GEND <pa...@esstin.uhp-nancy.fr> on 2002/06/04 11:48:16 UTC

how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

Hello,

I used apache with mod_jserv (no jsp) and I known how to configure virtual hosting in httpd.conf.
<VirtualHost 193.10.10.25>
DocumentRoot /path/to/website1
ServerName www.website1.org
...
</VirtualHost>

<VirtualHost 193.10.10.25>
DocumentRoot /path/to/website2
ServerName www.website2.org 
....
</VirtualHost>

Since I am working with tomcat 4.0.3 with mod_webapp,I don't know how to do in my httpd.conf: Where to put, for instance

WebAppConnection conn warp localhost:8008
WebAppDeploy website1 conn /website1 (I have now to use the bad way http://www.myweb.org/website1 which is totally incorrect
WebAppDeploy website2 conn /website2 (I have now to use the bad way http://www.myweb.org/website2 which is totally incorrect)

Pascal