Configuring Apache for Multiple Instances of CFMX
1. Install apache
2. Add the host names you want to the windows hosts file. i.e. c:\windows\system32\drivers\etc\hosts
3. Add the virtual hosts to apache: example
4. Run the wsconfig tool on the first instance.
5. Manualy create a new jrunserver.store file for all the other instances.
6. add the bootstrap and jrunserver.store location to each virtual host in the httpd.conf. example
7. Add an alias to the CFIDE directory for each virtual host. i.e. Alias /CFIDE "C:/JRun4/servers/cf7/cfmx/CFIDE"
Example Virtual Host config
<VirtualHost *>
ServerAdmin me@mydomain
ServerName website
DocumentRoot c:\webroot\website
ErrorLog logs/website.log
CustomLog logs/website.log common
JRunConfig Apialloc false
JRunConfig Serverstore "C:/JRun4/lib/wsconfig/website/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51000
Alias /CFIDE "C:/JRun4/servers/website/cfmx/CFIDE"
#ErrorDocument 500 "http://website/uc.html"
DirectoryIndex index.cfm
</VirtualHost>
ServerAdmin me@mydomain
ServerName website
DocumentRoot c:\webroot\website
ErrorLog logs/website.log
CustomLog logs/website.log common
JRunConfig Apialloc false
JRunConfig Serverstore "C:/JRun4/lib/wsconfig/website/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51000
Alias /CFIDE "C:/JRun4/servers/website/cfmx/CFIDE"
#ErrorDocument 500 "http://website/uc.html"
DirectoryIndex index.cfm
</VirtualHost>

Comments
Hey Jason,
Thanks for this..
This is something i've been trying to figure it out for almost few years now.
I'll try this out and will let u know.
Cheers
Sameer
Let u know soon
No worries Sameer.