Re: A patch to keep cache directory out of webroot

"jojodee" <jojodee-8nna1qhvBBM9QQeoy3GH/[email protected]> Sun, 3 Oct 2004 13:44:05 +0930
Newsgroups gmane.comp.cms.xaraya.patches
Organization Xaraya
Message-ID <[email protected]>
"Jonn Beames" <[email protected]> wrote in message 
news:[email protected]...
>
>
> At this point we still have the problem of var/cache/rss and 
> var/cache/adodb ...or any other writable directory placed under var/cache. 
> I would prefer that we solve the problem in one pass, as suggested by this 
> patch.  However, it seems to me that it makes more sense to make the whole 
> var directory movable, as has been the plan for some time but has been 
> stalled for likely good reasons I am unfamiliar with.
>
I'm all for making the /var directory configurable.

Just for consideration when/if it is done:
Making the /var dir configurable this is what i did with the multisite 
module as outlined in previous documentation that I posted  (have to find 
the link to web stuff again). Final changes to bitkeeper were not pushed as 
we decided to leave it until later. In those specific changes I had the 
'original site' var where it is now during boot. However after the original 
boot, the var directory was configurable from the web interface for the 
original and other multisites sites. In this setup individual writeable 
directories under var (not too many at the time) could also be configured as 
shared or moved off to their own /var directory as well.

I've also suggested previously  in a number of related discussions that this 
configuration setup could be part of the larger (Multi)Site Management 
Module which was to be a web interface management module for multisites/site 
admin. In one thread time we had quite a discussion about it and whether to 
leave it as a module in something like Sitetools or move it into a more 
central area ...and so .. revisit the discussion in past lists ...

I think at the time one reason it was left because there are a lot of 
considerations involved across a number of xaraya core areas and felt best 
to be left til after 1.0. I'll lend a hand if and where required tho.

Jo