Troy,

> Thanks for the feedback Stephen.  I would like to know more about your
> CF-MultiServer configuration.  I am investigating a number of
> configurations and this is what I have working so far with farcry
> 3.0.x.
>
Sorry for the slow reply - I was at work when I saw your email and my
multiserver install is at home.

Basically, I have multiple virtual hosts set up in Apache and in my
HOSTS file under windows I have entries for each of my virtual hosts
pointing to 127.0.0.1.

So in my apache config I have farcry.local and clienta.local etc.
which point to the appropriate appropriate web visible folder for
those sites on my machine.
Each instance that uses coldfusion has a coldfusion-ear/war folder set
up, so that I can manage coldfusion for that specific instance and I
generally do that via
http://127.0.0.1:instanceport/cfide/administrator

For farcry I just followed the instructions; extracted the files into
a folder, created an farcry project folder with www under it, pointed
apache virtual host config at that folder, set up the mapping under CF
and apache for /farcry and created an empty datasource in MySQL with
an entry in CF Admin.

When I ran the install I chose not to delete the farcry_pliant folder.
 You can use this to do a manual install of the files for any new
farcry project.  When you create a new JRun/CFMX instance, make a copy
of the pliant folder to your new project name alongside your existing
farcry project and the core files, set up your apache virtual host, an
empty database and your CF mappings and DSN.  Now when you run the
install just do a database install rather than a full install, making
sure you fill in the new project name correctly, point it at the right
domain and so on.

You need to add the appropriate entry to app.cfm in your main farcry
app folder or not... its simply a line as follows :

stApps['yournew.domain'] = 'projectname';

Then you need to edit _serverSpecificVars.cfm in the
projectname/config/ folder so that it matches your setting for this
new server and that is it.

I know I've ranted on about virtual hosts in apache, but given that
you're running Win2k3 Server you can do exactly the same thing with
IIS by setting up individual sites in IIS and setting the host
headers. I'm on XP Pro at home, so you only get the single domain
version of IIS and I know there is a tool out there to easily swap
active domains, but its just so easy to set up multiple sites in
apache and forget about it.

>
> The problems I was having earlier was with using a "context root".  The
> context root of "/" did not work so well with farcry.  I guess I was
> trying to make farcry work in a J2EE configuration and I have not been
> able to make that work.
>
I'm a little surprised that you are having an issue with the context
path - all my JRun/CF instances run with a "/" context root.

Anyway - being shouted at by the wife... ~sheepish grin~

Hope that helps

Stephen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to