Re: A patch to keep cache directory out of webroot
"jojodee" <jojodee-8nna1qhvBBM9QQeoy3GH/[email protected]> Wed, 13 Oct 2004 15:37:21 +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: > >> 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. >> > I didn't say you can't have site specific data/files in a site specific > directory. I know that - it was clear. I don't think you understood me though. > On the contrary, I fully agree with you that in the mythical > multisite setup There is no 'mythical' multisite setup jonn. I use multisites, and other people probably do too. > WhatI am saying is that each of these site directories should be under > the > system's var directory. So, in a normal system you have: > var/cache > var/logs > var/uploads Yes, you made yourself clear the first time. I understand what you said, and I disagreed with it in my reply. > What are you talking about? The whole point of multisites is running a > bunch of sites from a single index.php Running from one single index.php is a multisite setup yes - but only one type. > which only exists in one webspace. > If you are talking about virtual webspaces for each site - yes, that > sounds > great, but why would you need to move them out of the system var? > >> 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. >> > Where did you get the idea that a system var makes xaraya unusable on > multiple platforms? Nowhere, I didn't say anything like that - did you just make it up? > The whole idea of storing all writable directories in > one place that can be moved outside of the webroot came up so that we can > make xaraya as secure on IIS as it can be on apache. Yes, I know that - that's not what I'm discussing or what i asked in this particular post you were replying to. Perhaps read again, and also refer to the post on category images which broaches the same topic ie If we are going to discuss writeable directories, and so on - let's take a good look overall at Xaraya's needs for all aspects, which include vars, configuration settings, data shareable withing a site across themes, data specific to a site, data shareable across sites, specific core or 'nearly core' modules like categories and so on. That's where my post started. Jo