Thanks for the response and info re. Admin setup.
If I read your reponse correct, then setting up as detailed with your corrections will give me the following:
Web site access - http://www.site1.com/ - http://www.site2.com/ - http://www.site3.com/
Admin access - http://www.site1.com/farcry - http://www.site2.com/farcry - http://www.site3.com/farcry
I have been trying this on my local server 'localhost' and can only get one Admin working. I am assuming that this is due to having only one domain to play with 'localhost'.
I can now see that it is the setting up of the Farcry mapping for each website that will point to the single codebase for each domain.
Does anyone know if I can setup multiple test domains using Win2K Pro and IIS 5? Or will I need to do something else to get multiple test domains on my local server?
Thanks
Gary Menzel wrote:
ALMOST 100% correct.
Your directories - perfect.
FarCry can be installed anywhere though as long as your mappings all point to the righ place (so what you have in Inetpub/Applications could equally have been put in C:\FarCry - for example).
Your apps.cfm - perfect.
Each entry in apps.cfm tells the FarCry admin code which directory is associated with which domain.
Your /farcry mapping - perfect.
This is the path you access off your root host address (e.g. http://%yourhost%/farcry) to run the admin code.
Your application mappings - perfect.
This is not really "FarCry" as such - but is how the webserver maps an address to a file system location. For anyone not using IIS there is similar functionality on most other web servers.
The ADMIN stuff.....
Basically, your ADMIN runs off each of your domains:
www.site1.com/farcry www.site2.com/farcry www.site3.com/farcry
You don't need to create any virtual mappings for Admin (other than the CF Mapping for /farcry).
That is where apps.cfm comes in. The ADMIN code looks at apps.cfm to see what the domain is and then maps the domain to a FarCry instance directory. From that point onwards, the ADMIN stuff works with that instance of FarCry.
Regards, Gary Menzel
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Kent Sent: Sunday, 23 November 2003 8:45 AM To: FarCry Developers Subject: [farcry-dev] Mutlipe Site Administration/Mappings
Hi,
I am new to Farcry but would like to use it for a number of sites all on the same box. I have read a number of posts regarding multiple sites a number of times - and each time I read them I find somethineg new, but all saying that it will work.
The key as I see it is the apps.cfm, to allow the multiple sites to use the same farcry code base.
Below is my plan of attack - please do correct me if I am wrong, I would much rather get it right before installs than correct it after.
Directory Structure: (a) - Inetpub (b) - - Applications (c) - - - Farcry_core (d) - - - - Admin (e) - - - Fourq (f) - - - site1 (g) - - - site2 (h) - - - Site3
APPS.CFM: <cfscript> stApps = structNew(); stApps['www.site1.com'] = 'site1'; stApps['www.site2.com'] = 'site2'; stApps['www.site3.com'] = 'site3'; </cfscript>
CF Mappings: /farcry - maps-to (c)
IIS Mappings (virtual : www.site1.com maps-to (f) admin.site1.com maps-to (d) www.site2.com maps-to (g) admin.site2.com maps-to (d) www.site3.com maps-to (h) admin.site3.com maps-to (d)
Thanks in advance for any assistance. Chris
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
