Hello

Is it possible to have several virtual hosts point to different folders
within the same context under tomcat 5 standalone webserver?

<Host name="domain1.com" debug="0" appBase="webapps">
<Context path="" docBase="domain1" debug="0" reloadable="true"/>
</Host>

<Host name="domain2.com" debug="0" appBase="webapps">
<Context path="" docBase="domain2" debug="0" reloadable="true"/>
</Host>

http://domain1.com --> myapps/domain1
http://domain2.com --> myapps/domain2

so that one application handles all the requests? I'm running Cold Fusion as
the application and I need it to handle request for virtual hosts within its
own context i.e. domain1 and domain2.

I can achieve this easily with <VirtualHost> directive in Apache, but can't
get it to work under Tomcat standalone. Is it possible?

Any help much appreciated.

James


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to