you need a unique domain name / ip per site, so it woul d be stApps['192.168.1.101'] = 'farcry_test1' stApps['192.168.1.102'] = 'farcry_test2'
where the server has multiple IP addresses and the IIS website is set up to listen to those addresses. It may be easier to set it up with multiple domanames - if using the host file you would have 192.169.1.100 test1 test2 the apps.cfm would look like stApps['test1'] = 'farcry_test1' stApps['test2'] = 'farcry_test2' and you would access the admin console like http://test1/farcry http://test2.farcry where test1 and test2 resolve to the sape IP, ie you web server, but the domain names map to the farCry application directories, namely farcry_test1 and farcry_test2. The same priciple applies if you use DNS to define the domain names. When you set up muliple websites, each site can line in the root, so rather than http://192.169.1.100/farcry_test1 to view the site, you would have http://test1 So the main point being, if you have mulitple farCry sites in one web site, you need a unique way (ip or domain name) to access the site, which is defined in apps.cfm to mapp to the farcry application directory, eg farcry_test1 and farcry_test2. Eitherway, you still can have one farcry core. On Fri, 11 Mar 2005 10:44:38 -0500, Emanuel Costa <[EMAIL PROTECTED]> wrote: > Hi Geoff, thanks for answering me. > > My main box is win2k server, I also have another XP Home where I use > apache 2.0.53 with CF7.... so that's not exactly my problem. But I > agree it is very useful for XP pro users that still wants to stick > with IIS, yet, Micrsoft made a very good contribution to Apache after > releasing XP! ;o) > > I am sorry if it is dumb questions, I have only two months experience > with farcry (and so far I am loving it). About the multiple farcry > applications under the same site. I don't quite get it. If Apps.cfm is > used to differentiate multiple farcry applications under the same > site, Apps.cfm should have something like: > > stApps['192.168.1.100'] = 'farcry_test1' > stApps['192.168.1.100'] = 'farcry_test2' > > So how the core framework files will know what exactly application I > am at the moment? > Where the server.farcry.stInstall value is set? > > I didnt delete the apps.cfm yet since what I have here are 4 farcry > installations one for each site (on different ports). But I will give > a try later on today. > > Thanks > > Emanuel > > > On Fri, 11 Mar 2005 10:15:51 +1100, Geoff Bowers <[EMAIL PROTECTED]> wrote: > > Just a quick tip. Apps.cfm is *only* useful if you have multiple farcry > > apps under the same website. If you have a unique website (ie by > > website I mean what IIS means) for each farcry application then Apps.cfm > > is completely *unnecessary*. > > > > For example, I run every FarCry app on my workstation under a seperate > > website (using Apache for what its worth) and I *delete* the Apps.cfm. > > > > -- > =+=+=+=+=+=+=+=+=+=+=+=+ > Emanuel Costa > site: http://www.emanuelcosta.com > msn: [EMAIL PROTECTED] > ICQ: 8013683 > Orkut: Emanuel Costa > Skype: Emanweb > =+=+=+=+=+=+=+=+=+=+=+=+ > "Education is a progressive discovery of our own ignorance." > - Will Durant > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
