Usually we have one JRun (ColdFusion 6.1) instance
per VirtualHost in apache (2.4). This all works fine.
A situation has now come up where we want to have
different parts of a single site connected to
different JRun instances. Do you know if this is
possible and how to go about setting it up?
Cheers, David
-------------------------------------------------
p.s. What we have in mind is:
<VirtualHost x.x.x.x>
ServerName localhost
DocumentRoot /var/www/html
<Directory /var/www/html/foo>
JRunConfig Serverstore
/usr/lib/httpd/modules/wsconfig/1/jrunserver.store
JRunConfig Bootstrap X.X.X.X:51000
</Directory>
<Directory /var/www/html/bar>
JRunConfig Serverstore
/usr/lib/httpd/modules/wsconfig/2/jrunserver.store
JRunConfig Bootstrap X.X.X.X:51001
</Directory>
</VirtualHost>
But it doesn't seem to work.
Only the last loaded JRun config will work so when
browsing to http://localhost/foo it will connect to CF
instance 2.
-------------------------------------------------
However this works OK.
<VirtualHost x.x.x.x>
ServerName server1.localhost
DocumentRoot /var/www/html
JRunConfig Serverstore
/usr/lib/httpd/modules/wsconfig/1/jrunserver.store
JRunConfig Bootstrap X.X.X.X:51000
</VirtualHost>
<VirtualHost x.x.x.x>
ServerName server2.localhost
DocumentRoot /var/www/html
JRunConfig Serverstore
/usr/lib/httpd/modules/wsconfig/2/jrunserver.store
JRunConfig Bootstrap X.X.X.X:51001
</VirtualHost>
Send instant messages to your online friends http://au.messenger.yahoo.com
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/