This is very easy to do.  Keep it simple by dropping everything into single directory: /farcry.
 
/farcry_core
/fourQ
/farcry_site1
/farcry_site2
/farcry_site3
 
In theory you can set up site2 by simply copying site1.  In each site, you need to edit (at minimum) two files: Application.cfm, and _serverSpecificVars.cfm
 
Applicaton.cfm
You need to make sure each site is running under a different CF app.  This is done via the <cfapplication name="xyz"> tag.  Simply go into /farcry_site1/www/Application.cfm and set the app name to "farcry_site1".  Do so w/ all the other sites.
 
_serverSpecificVars.cfm
This file tells farcry w/ CF datasource to use.  Natually, if you forget to change it, and just copy site, the sites _will_ start overwriting one anothers data (speaking from personal experience).  Simply go into /farcry_site1/config/_serverSpecificVars.cfm and change the application.dsn to point to whatever cf datasource you want.
 
Naturally, if you use the installer, all this will be done for you.
 
This also assumes that all sites will be running the same version of FarCry.
 
Scott Talsma
CTO
echo•eleven
404.845.3458
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of moore_tom (sent by Nabble.com)
Sent: Friday, December 09, 2005 3:08 PM
To: [email protected]
Subject: [farcry-dev] Multiple installations on one server

Wondering if anyone has installed multiple sites on one server.
I want to setup 2 sites with separate administration.
One for corp site and one for www site on our development server.
This is with one installation of CF 7.

Tom

Sent from the FarCry - Dev forum at Nabble.com:
Multiple installations on one server

Reply via email to