Thanks Gary, I'll have a go over the next few days and see how it works out.

Now .. back to the great race!


Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gary Menzel
Sent: Sunday, 12 October 2003 1:04 PM
To: FarCry Developers
Subject: [farcry-dev] RE: In Shared hosting environment

> So  ...  would I be correct in doing the following (this is adapting Neil
> Robertson-Rabo's instructions a few days ago):

Well - I would do it differently (so that all the FarCry core stuff was
OUTSIDE your webroot)....

Your best bet would be to try and install farcry on a machine you have using
a directory structure similar to the one at your provider.

He should install the core stuff outside of your webroot (even if they
aren't going to run multiple farcry sites)......

In the following scenario, I have simply installed "FarCry" to the
d:\de3\sites directory.

For example:

The "FarCry" root would actually be: d:\de3\sites.  And would contain (as
well as the other site directories)....

d:\de3\sites\farcry_core
d:\de3\sites\fourq

In the d:\de3\sites\ directory would go the APPS.CFM file.

Then  - your application (b130 directories - need to upgrade on my
laptop)....

d:\de3\sites\oursite
d:\de3\sites\oursite\config\
d:\de3\sites\oursite\customadmin\
d:\de3\sites\oursite\includeobj\
d:\de3\sites\oursite\packages\
d:\de3\sites\oursite\ui\
d:\de3\sites\oursite\webskin\
d:\de3\sites\oursite\www\

Assuming your domain is "mydomain.com" it would need the following entry in
it:

stApps['mydomain.com'] = 'oursite';

As you can see, this will ensure that when you run
http://mydomain.com/farcry that it will pick up "mydomain" from the URL,
look that up in the APPS.CFM and map into your directory (picking up the
config for your site correctly).

The real catch is making sure the mappings for your virtual site and virtual
directories are correct (that will depend on the type of webserver being
used).  At minimum, your webserver requires a virtual directory set up to
point at the farcry admin.....

http://mydomain.com/farcry => d:\de3\sites\farcry_core\admin

Make sense ?

If you do it that way - then they can just create FarCry sites under anyones
directories - or even create virtual directories off the root to point at a
FarCry app instance.  I dont think the standard install code will be able to
do this (but it should not be difficult to modify to allow a little extra
flexibility).  I think any ISP who is wanting to offer FarCry as a general
product will need to create their own install scripts.

You should do it on a box you have complete control over first and mimic
that directory structure.  I think if you use the standard install, there
are some directories that get hard coded (but I can't be sure of that).  You
should do the install and check in the source files to see.


Regards,
Gary



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to