I am trying to set up a second cfserver instance on my localhost. 

So i open cfadmin, click enterprise manager - click instance manager, then 
Add new Instance.  That all seems to go OK.  It tell me that I have a new 
instance on localhost:8500

I can open a new window of cfadmin for that instance and  set up mappings 
and datasources etc.  In that case the address is 
localhost:8500/CFIDE/administrator

I am using C:\www as the document root for the original instance but i want 
to use c:\wwwdemo as the document root for the second instance so I set 
that up with

#the following in windows/system32/drivers/etc/hosts
127.0.0.1  demo.localhost

#the following edits to coldfusion10\config\wsconfig\1\workers.properties
worker.list=cfusion,DemoServer

worker.cfusion.type=ajp13
worker.cfusion.host=localhost
worker.cfusion.port=8012
worker.cfusion.max_reuse_connections=250

worker.DemoServer.type=ajp13
worker.DemoServer.host=localhost
worker.DemoServer.port=8013
worker.DemoServer.max_reuse_connections=250


#the following in  apache httpd-vhosts.conf
<VirtualHost *:8500>
    ServerAdmin webmaster@dummy-host.VISITS.local
    DocumentRoot "C:/wwwdemo"
    ServerName localhost
 JkMountFile 
"C:\ColdFusion10\config\wsconfig\1\uriworkermap_DemoServer.properties"
</VirtualHost>


I try localhost:8500/index.cfm  expecting to get C:\wwwdemo\index.cfm 
served up but and it just says it can't find my index.cfm and just gives me 
a directory list for C:\ColdFusion10\DemoServer\wwwroot

So it seems that my second instance is running and serving CF files but 
only from C:\ColdFusion10\DemoServer\wwwroot.  How do I get it to use 
C:\wwwdemo ?

regards,
Stephen


-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

Reply via email to