Book HomeWebmaster in a Nutshell, 3rd EditionSearch this book

19.36. mod_userdir

The mod_userdir module provides automatic mapping to user directories for requested addresses.

UserDir

UserDir directory|filename

[server config, or within <VirtualHost>]

Translates a username to a specific directory and default filename. The default is the user's home directory in the subdirectory public_html, loading the file index.html. Alternatively, you can specify the enabled or disabled keyword followed by a series of usernames you wish to enable or disable access. For example:

UserDir enabled robert stephen
UserDir disabled john linda


Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.