> > You don't even have to do that. You can just enable
> > BlueDragon or CFMX or CF5 within specific virtual
> > servers or directories, on Apache or IIS.
>
> I would be interested in seeing more details on this
> "feature"
I've described this more than once on this list, I'm sure, so it's probably
in the archives. Nevertheless, it's not too difficult to do. With IIS, you
can use wsconfig to configure CFMX to work with an individual virtual
server; what this does is configure either an ISAPI filter or extension to
work with that virtual server, and create a virtual directory called
"JrunScripts", which maps to the same folder that contains the ISAPI DLL.
You can set up CF 5 manually, for a specific virtual server or application,
by mapping the .cfm extension to \CFusion\BIN\ISCF.DLL.
With Apache, you simply put the appropriate directives within a VirtualHost
directive. Here's an example, from my laptop:
<VirtualHost mycf5.figleaf.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "C:/htdocs/mycf5/"
LoadModule coldfusion_module modules/mod_coldfusion.so
AddHandler type-coldfusion cfm dbm
</VirtualHost>
<VirtualHost mycfmx.figleaf.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "C:/htdocs/mycfmx/"
# JRun Settings
LoadModule jrun_module "C:/CFusionMX/runtime/lib/wsconfig/2/mod_jrun20.so"
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
"C:/CFusionMX/runtime/lib/wsconfig/2/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51010
#JRunConfig Errorurl <optionally redirect to this URL on errors>
AddHandler jrun-handler .jsp .jws
</IfModule>
</VirtualHost>
To make this work on my laptop, with both hosts using the same IP socket, I
added the appropriate entries to my hosts file.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4