>How do you switch between them? I.e. how does your system determine
>that page a has to be processed by CF8 and page b by CF7?
Pretty simple, using apache. Assuming you've installed in multi-server mode,
you would run the Web Server Configuration tool (found in the Macromedia
programs folder). I'm fairly certain this can only be done by running in
multi-server mode. I've got 6.1, 7.0.2, and 8 all running this way. An
example of my httpd.conf is found below. Please note, that I'm using named
"NameVirtualHost" setting. You would not need to run a VM in this case, and
save on a ton of memory.
First, you need to load the JRun module. You can only define this once. I
don't think it matters which you load as they all use the module fine.
# JRun Settings
LoadModule jrun_module "C:/JRun4/lib/wsconfig/2/mod_jrun22.so"
Next, within each virtual site, you would define a JRun mapping to each
instance. My 6.1 instance looks like this:
<VirtualHost *:80>
# JRun Settings
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore "C:/JRun4/lib/wsconfig/2/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51000
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>
DocumentRoot "C:\farcry\studentstaffers\trunk"
ServerName mdw.studentstaffers.com
ServerAdmin [EMAIL PROTECTED]
ErrorLog C:/EasyPHP2/apache/logs/ss_error_log
TransferLog C:/EasyPHP2/apache/logs/ss_access_log
Alias /phpmyadmin c:\easyphp2\phpmyadmin
Alias /CFIDE c:\jrun4\servers\cfusion61\cfusion-ear\cfusion-war\CFIDE
</VirtualHost>
So, to break it down, my local site of mdw.studentstaffers.com listens on port
80 (as do all my others, but redirects depending on the named host). It uses
the Serverstore for my 6.1 instance and uses its bootstrap as well. I also
have my CFIDE defined. My 7.0.2 instance has its server store at
C:/JRun4/lib/wsconfig/1/jrunserver.store and its bootstrap is at port 51020.
Uh, sorry to say it's a right pain in the ass, the JRun connector piece, but
for more of understanding of it, try going here:
http://blog.webmages.com/geek/cfmx-on-intel-macs/#jrun. What I do is make a
copy of my http.conf file, and point the web configuration tool there. I then
copy those changes back to my main file. This can all be done manually, you
just need to be aware of what the ports are.
Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294547
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4