UserDir dir
Where dir
is a partial path relative to the users home
directory (as given in /etc/passwd
). The server takes the
path it creates with this information, and looks for the user's
document in the resulting full path.
The keyword DISABLED
will disable the user supported
directories feature.
Only one UserDir directive is allowed in the server configuration file.
UserDir public_html
UserDir web-docs
This would set UserDir to web-docs. A request for
/~robm/foo.gif
would cause the server to retrieve
~robm/web-docs/foo.gif
.