Re: A patch to keep cache directory out of webroot

"jojodee" <jojodee-8nna1qhvBBM9QQeoy3GH/[email protected]> Wed, 13 Oct 2004 12:35:24 +0930
Newsgroups gmane.comp.cms.xaraya.patches
Organization Xaraya
Message-ID <[email protected]>
"Jonn Beames" <[email protected]> wrote in message 
news:[email protected]...
> jojodee wrote:
>> [...]

> var is a system directory for storing rewritable system data, all 
> rewritable system data, not stored in the database, should be under it.

> site directories should be under the system var directory.  The idea of 
> making them configurable independently and movable all over the place 
> offers little value and makes xaraya unnecessarily messy.

No, not at all. Having everything pushed under one var directory, in my mind 
makes it very messy, and not easily upgradeable on a site by site basis. It 
also makes certain types of multisite setups very difficult if not 
impossible. It would be useful to have each site with their own 'directory' 
tree and very organized in my mind.

Why should it be under the system var directory? This makes it very 
difficult for configuring multisites especially where we want them in a 
subdirectory in another "webspace".

One of the biggest requirements i would also have is that a site is easy to 
backup/upgrade. Having site data under one directory, would make that very 
easy, and not mixed with other site specific data.  I think we also need to 
endeavor to ensure Xaraya is kept usable on multiple platforms, in 
situations where not all users have their own server to do as they wish.

my 5 cents :)

Jo

> my 2 cents.
>
>  - Jonn