The first time I tried to access http://localhost:8300/farcry it said
there was an error including template Application.cfm. I noticed in
farcry_core/admin/install/Application.cfm, I can append another IP address
if mine is invalid. Note I'm not installoing Farcry in 127.0.0.1. Instead it's in 127.0.0.1:8300. Do I need to append the new number to
lAllowHosts in farcry_core/admin/install/Application.cfm?
The admin install files is not your problem, it's your c:/JRun4/servers/cfusion/cfusion-ear/applications/apps.cfm file. You need to add 127.0.0.1 to the apps structure, making it look like this:
<cfscript> stApps = structNew(); stApps['localhost'] = 'farcry_testsite'; stApps['127.0.0.1'] = 'farcry_testsite'' </cfscript>
The apps.cfm file is what is used to decipher which site is being used at what address. If you had multiple sites running off the same farcry_core code the apps.cfm tells FarCry which application to use, eg if your apps.cfm looked like this:
<cfscript> stApps = structNew(); stApps['farcry.daemon.com.au'] = 'farcryWebsite'; stApps['www.daemon.com.au'] = 'daemon'' </cfscript>
Then when someone browses to farcry.daemon.com.au/farcry, the application.cfm from the farcryWebsite application is included, and if coming from www.daemon.com.au/farcry, the application.cfm from the daemon site is included.
Hope that helps :)
-Brendan http://farcry.daemon.com.au
--- 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
