Shane Hathaway wrote:
On Tue, 5 Dec 2000, Bill Anderson wrote:
So, what would you suggest for the following scenario?
o Site distirbuted via ZEO o Using SiteAccess2 for virtual hosting sites under /vhosts/thissite /vhosts/thatsite o each site is actually it's own full Data.fs
Under non-zeo, it's simple, use a mounted filestorage, and it works quite well. Unfortunately, it doesn't work under zeo, for obvious reasons. If I had time, I'd do a mountedZEOstorage, but time is too much a precious commodity for the next few weeks/months. :/
What do you mean it doesn't work under ZEO? Set it up just like zope.org.
Simple: I have a site running on it's own right now. It is based right of of the root of the data.fs, not under a folder (like a wiki is). If I try the externalmount you tarred up for us (thank you, btw), it insist on having a path inside said data.fs. If I give it a folder in said data.fs it works for that folder, as expected.
Either create two storage servers or one that provides access to both FileStorages. Then write an external method for each storage, each of which creates a ClientStorage and wraps a DB around it.
How do I do this part? I made one for FileStorage (the example given), which works fine. Substituting ClientStorage for FileStorage didn;t work. ;) ...mebbe I've just been too deep in scsi code lately to think properly ... ugh.
Then mount those external methods. Thus you don't even need to write MountedZEOStorage.
That would be a boon. :)