Hello, I've been trying to figure this issue out for days and I can't seem to make any headway. To give some background on my environment, I'm running Tomcat - 6.0.16 and Java 1.6.0_03 on XP, and using IIS 6.0 as the web server.
I have multiple hosts defined in the server.xml file in the tomcat conf directory like this: <Host name="site1.localhost" appBase="C:/sites/site1" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false" /> <Host name="site2.localhost" appBase="C:/sites/site2" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false" /> <Host name="site3.localhost" appBase="C:/sites/site3" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false" /> <!-default host --> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> Under the appBase of each of these sites is a ROOT directory, that directory is the root of the website. i.e. c:/sites/site1/ROOT/index.jsp = http://site1.localhost/index.jsp (the Tomcat isapi redirector is working perfectly). On top of this setup is a Coldfusion 8 install - the coldfusion install was a war file that was exploded into c:\tomcat\webapps\cfusion - if I create a simple coldfusion hellworld.cfm file: <cfset request.greeting = "hello from coldfusion" /> <cfoutput>#request.greeting#</cfoutput> I'm able to see it rendered properly by going to http://localhost:8080/cfusion/helloworld.cfm so i know coldfusion is functioning, and it works within Tomcat. Which brings me to my issue - I can't figure out how to have coldfusion files in each of my hosts rendered using that single coldfusion application. Obviously putting the helloworld.cfm into the site root doesn't work - tomcat just outputs the XML. How can I use hook those multiple hosts into a single running application? Can this be done? Do I need to have multiple coldfusion installs for each site? I have tried looking into the Context, but that seems to be host-specific, i.e. you can't set context paths for an application outside of your host. I've also tried looking at the servlet-mappings in the web.xml, but can't seem to see anything that would help. Hope this is enough information - I can supply more if necessary. Thanks for any help anyone can offer Matt