>
>So after a few farcry sites have been put on the server the
>www directory may look like this:
>
>www/farcry_core
>www/fourq
>www/mysite
>www/yoursite
>www/anothersite
>
NOTE: It is entirely possible to have websites located outsite the farcry
directory structure.
On my server I have:
C:\Farcry
Which contains all the code for farcry_core and fouq
Each site lives in c:\sites\live\{sitename}
In order to get this working you need to add a ColdFusion mapping called
/farcry/sitename that points to the directory containing your sites and edit
the _serverSpecificVars.cfm file in c:\sites\live\{sitename}\config to
reflect your setup.
My _serverSpecificVars.cfm looks like this:
*******************************************
<cfsetting enablecfoutputonly="Yes">
<cfscript>
application.dsn = "{somedatasource}";
application.dbtype = "odbc";
application.dbowner = "dbo."; // don't forget the "."
application.path.project =
replaceNoCase(replace(getCurrentTemplatePath(),"\","/","all"),"/config/_serv
erSpecificVars.cfm","");
application.path.core = "C:/Farcry/farcry_core";
// application web urls
application.url.webroot = "";
application.url.farcry = application.url.webroot & "/farcry"; //admin
application.packagepath = "farcry.farcry_core.packages";
application.custompackagepath =
"farcry.#application.applicationname#.packages";
application.securitypackagepath = application.packagepath & ".security";
</cfscript>
<cfsetting enablecfoutputonly="no">
********************************************
I have 4 live Farcry sites running in this configuration at the moment. None
of which live inside the Farcry directory structure. All seem to work
exactly as expected.
Regards
Spike
---
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