..of course, the second host name should read 'website2.com' - apologies for
typo.

I've just tried the same approach with the website1 and website2 folders
directly below the application context, but it still doesn't want to parse.

Appreciate any input

Thanks, James


----- Original Message ----- 
From: "James Agnew" <[EMAIL PROTECTED]>
To: "tomcat list" <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 7:30 PM
Subject: virtual hosts for single application context


> Hello all,
>
> I have an application (CFMX) running under Tomcat 5.0.18 as a deployed war
> file within the ROOT folder i.e.
>
> $CATALINA_HOME/webapps/ROOT/
>
> this all works perfectly and correcly parses all .cfm files.
>
> Now, I've created virtual hosts by adding the following in server.xml:
>
> <Host name="website1.com" debug="0" appBase="webapps">
> <Context path="" docBase="website1" debug="0" reloadable="true"/>
> </Host>
>
> <Host name="website1.com" debug="0" appBase="webapps">
> <Context path="" docBase="website2" debug="0" reloadable="true"/>
> </Host>
>
> This works, but the application (i.e. CFMX) doesn't parse the .cfm pages
> within the website1 and website2 folders.
>
> Is it possible to map multiple virtual hosts to a single application
> context?
>
> Thanks, James
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to