The CF/JRun connector installs it's configuration globally for Apache,
using whatever JRun server you specified. If you want to hook up
something (like a vhost) to a different server (or JRun instance), you
need to place these three config lines in that vhost:
JRunConfig Serverstore
/opt/jrun4/lib/wsconfig/cfusion/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51000
JRunConfig Apialloc false
Obviously you'll need to update the values of the first two to
whatever is appropriate for your configuration. The third line must
be set to true (the default) exactly ONE time in your entire Apache
configuration, as it sets up global shared resources for the JRun
connector module. I usually leave the default instance (that the
wsconfig util adds to httpd.conf) set true, and all the others (in my
vhosts) false.
I'd expect that you can also override the JRun you're connecting to
with Location directives, but I've never tried that. Doesn't matter
for your desired configuration, though.
cheers,
barneyb
On 6/17/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
> Does any one know who to configure Apache to tie different domains to a
> particular JRun Application Server?
>
> I have ColdFusion running in one JRUN application server
> and have now created a new application server and have Railo running on that
> - works fine accessing it via the JRun HTTP Port
>
> When using Web Server Config Tool for IIS, you get a drop down list of all
> IIS sites
> - how do you configure Apache to work like this?
>
> What I want to end up with is all websites running on port 80 (managed by
> apache)
> but each site run on a different JRUN Application Server eg
> coldfusion.mysite.com -> coldfuion application server in JRUN
> railo.mysite.com -> railo application server on JRUN
>
--
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/
Got Gmail? I have 100 invites.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 â Scorpio beta now available,
easily build great internet experiences â Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281432
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4