Hi,
We serve our farcry sites from Linux servers. I'll give you a quick
over view of our directory structure etc.
/vhosts/example.com
- holds all info related to a particular url
/vhosts/example.com/conf/
- conf files for this vhost. etc
/vhosts/example.com/httpd/
- all documents for this vhost.
/vhosts/farcry_application/
- all farcry files. in this folder is the apps.cfm and a load of sub folders
/vhosts/farcry_application/fourq
/vhosts/farcry_application/farcry_aura
/vhosts/farcry_application/farcry_core
-farcry app stuff
/vhosts/farcry_application/appname
-farcry folders for a particular site.
so for one farcry site, this is the httpd.conf bit for it. (in this
case a file called /vhosts/example.com/conf/httpd.conf)
Listen 123.456.789.012:80
<VirtualHost 123.456.789.012>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /vhosts/farcry_application/mysitename/www
ServerName www.example.com
Alias /farcry /vhosts/farcry_application/farcry_core/admin
ErrorLog /var/log/vhosts/example.com/example.com-error_log
CustomLog /var/log/vhosts/example.com/example.com-access_log combined
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
<Directory /vhosts/farcry_application/farcry_core/admin>
AuthType Basic
AuthName "FarcrySecurity"
AuthUserFile /vhosts/example.com/conf/htpasswd
Require user farcryusername
</Directory>
</VirtualHost>
Then we make the
/vhosts/example.com/httpd/ folder a sym link to this:
/vhosts/farcry_application/mysitename/www
Hope this make sense, and it helps.
Cheers
Gav
On 12/19/05, Oblio <[EMAIL PROTECTED]> wrote:
>
> In general, I guess I have a lot of questions on the current
> directory structure schema. I'm trying to get FC running on a Linux
> install, and things are, or seem, a lot more amorphous than on an IIS
> server. Let's say I host all my sites under /home/*sitename*/;
> according to the install, I should have the FC folders there, so
> /home/farcry_core/, etc. What I'd like to do is isolate the
> application files from the site folders, say
> /home/applications/farcry[/farcry_core,etc], and still have a site,
> /home/site.com/htdocs/index.cfm access the application files. I put
> in a path mapping for the admin (site.com/farcry =
> /home/applications/farcry/farcry_core/admin/), and a CF mapping to
> the core's parent (/farcry = /home/applications/farcry/). Is this
> going to acheive what I've discribed? When I run the install, there
> are a bunch of things created below the site's doc root - is that normal?
>
> Thanks,
> Oblio
>
>