Hugo,
Just a bit of context about the request from the point of view of the administrator of a small SME network. Windows users (sales) can access the internal network using an OpenVPN road warrior setup. Through the VPN, they can connect to the company file server.
After considering using CIFS and offline mode, it turned out that Webdav (i.e. HTTP) is a much more efficient protocol that CIFS in particular when used with a proper client like "webdrive" for Windows. This program uses the laptops hard drive as a cache and use file close to transmit semantics to minimize traffic. This is very useful for our company which has only access to a slow ADSL uplink with no possibility to upgrade to something better. The cache can also go offline so as long as the files are not directly shared between users, this works very well.
On the server side, Apache has a mod_dav module which works well but has an important problem. It does access the files using the user id which makes unusable with file system quotas. When relying on user discipline as a way to limit the volume of data also proved to be a dead end, file system quotas proved to a reliable solution. Thanks to quotas the volume of data to be backed up remains within what the company can afford.
In the end, the company ended up using the preexisting Apache server. A PHP webdav script along with some suphp magic were glued together to serve the user files. This is very hackish and the PHP processes often fail with a segmentation fault. Instead of suphp, maybe PHP and mod_fcgi would be more reliable. However as users do not seam to be affected by it the hackish solution stuck.
Hiawatha is much lighter that Apache. The source is easy to understand. The focus on security means that the userid change would probably be done in a sane way. Also a light server means that a silent server can be used which is really important when employees share the same room with the servers. Another perk of working in a small company...
The only missing piece except for webdav is authentication through the central authentication server (kerberos). Checking "httpauth.c" shows that replacing the file backend by a couple of calls to SASL with so little effort that it can be considered a site specific customization. If you are curious about how to do it, have a look at
Mod Authn SASL [sourceforge.net] for an example in the context of Apache.
Thank you for taking the time to work on Hiawatha.