Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am going to give an extra access for users on the Linux box to their files through WebDav using apache2 and dav, dav_fs modules. But found that all files are created by web server owner. Is it possible to achieve my goal and be able to do following:

1) make all user's dirs accessible using their login/pass 2) make files created under current user's name and group

Is it even possible in apache? Or it's so monolithic and doesn't even care about per user WebDAV?

Any alternatives will be also appreciated.


share|improve this question

The answer to you first question: yes, you can using mod_userdir. This module will create new files with user/group of the apache process owner. So, the apache owner needs to be able to access all your users homedirs.

Your second question: There is a module called peruser MPM which is not production ready and has serious security implications. Also combining peruser MPM with mod_userdir is not obvious.

An alternative could be Alfresco, which has a Open Source (community) version and uses Tomcat (it's completely written in Java). Besides a Webdav server it features an smb server (windows networking) and a web interface to access/share files. Much more complicated to set up than apache + mod_userdir, though, as it's a complete document management system.

share|improve this answer
Hi @Jasper, thanks for answer. I didn't know about MPM. Alfresco will need tomcat instance always running - I would like something more light for now, although it can be a good solution for other tasks. Thanks so much. – Vladimir Sep 18 '11 at 8:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.