Mod auth user dir

From GenosOrg

Jump to: navigation, search

This is a module for Apache 2.

You can create private user folders using the WebDAV protocol. Users will have only permissions to access to their own directory. Without this module, a htaccess file must be created inside every user folder. This is completely unmanageable when the number of users is big.

We can build a file server accessible from Windows and Linux using the WebDAV protocol and a web server like Apache. Because the protocol is build upon HTTP, the server uses ports TCP 80 (HTTP) and TCP 443 (HTTPS). These ports are commonly open in firewalls without any other special requirement.

User authentication (login and password) are delegated to other Apache modules like mod_auth_ldap.


[edit] Installation

- download the binary or compile the source. It should work with all Apache 2.x versions.

- install the module with /usr/local/apache2/bin/apxs -i -a -n auth_user_dir libmod_auth_user_dir.la

- configure directory options in httpd.conf. Option AUTHUSERDIRROOT can be defined for every Directory, and it is the root folder where user folders will be created.

- restart Apache: apachectl restart


[edit] Releases

Source code

1.0


Binary

1.0

[edit] Links

Friendly guide to get this module working in Ubuntu

Personal tools