Hi, I write a piece of software, it's a ruby on rails webapp.The main part of my app is database organized a bit like a virtual file system. I store that in MySQL.
There could be many accounts (each with own DB), and each account can have many users with different permissions.
I succesfully use apache to act as proxy to my RoR app, and my users have nice web access to the database.
Now, I want to create second way to access to the DB, using WebDAV. I am thinking about two ways to achieve that:
1. Write my own FUSE filesystem that gathers/stores data from/to MySQL and then is shared over WebDAV using standard apache modules.
Pros: solution is more universal, I can later e.g. share that using SCP etc.Cons: I have to mount one "filesystem" for each account; I have to think separately of filesystem (FUSE part) and authentication (apache/WebDAV part); I'm afraid about charset used to store, send file names
2. Write my own WebDAV module for apache as an out-of-the-box dedicated solution (like SVN does).
Pros: integrated solution; no FS mounting; no charset handling; propably smaller piece of code
Cons: I don't have any experience in thatI want to ask you about some general direction, what docs should I read to start WebDAV module programming, where to look for some examples, maybe some common pitfalls that you see after reading that?
Thanks in advance, -- m. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx