Webmaster in a Nutshell, Third Edition

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition

By Robert Eckstein, Stephen Spainhour

Table of Contents
Chapter 19.  Apache Modules

19.36 mod_userdir

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

UserDir

UserDir directoryfilename

[ 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


Team-Fly    
Top

Категории