Dear Timh, The easiest way to access your mogile data through dav is to use an http webserver (apache or lighttpd) enhanced with dav support as the storage engine for mogilefs. You simply must replace the mogstored element in the chain by your dav webserver (in my case that was apache22 with mod_dav and mod_dav_fs enabled). After that you just forget about mogstored and everything else will be just fine.
A sample apache config for the dav module can be found in this mailing list (I used that sample myself, it's working, so thanks to the author) NB: My box is FreeBSD 6.2 and although I got dav and mogile working together (files appear in the storage directory) it seems there's a bug in a FreeBSD Perl module that affects some IO routines - I get a "get_file_size down" error in the tracker logs and files in mogile just don't get it past the "temp" status. It's likely a FreeBSD problem (I still got my question opened in this list) Best regards, Denis On Jan 24, 2008 11:28 AM, Timh Bergström <[EMAIL PROTECTED]> wrote: > Hi, > > New to MogileFS but hope I can use it for our project. I've gotten a > system to run perfectly fine with database, trackers and storage servers, it > works great through the perl interface and mogtool to put, read and remove > files. > > Now, I've been reading back and forth that you can make Mogile present > it's data as a webdav resource, this is really interesting and I would like > to get some pointers where to begin. Basicly I want to enable FilePaths and > MetaData in MogileFS (I think they are loaded but can not really get it to > work, database is not populating) and get my servers to present a webdav > interface for my "client". If anyone has done this before it would be great, > but if not, is it possible? > > It is truly hard to find documentation about MogileFS even though this > list is very useful, so any links / docs on 1) Getting FilePaths & MetaData > to work and 2) Getting MogileFS to present me a WebDav resource would be > great. > > -- > Timh Bergström > :wq
