Apache HTTP Server Version 2.0
On systems with multiple users, each user can be permitted to have a
web site in their home directory using the UserDir
directive. Visitors
to a URL http://example.com/~username/
will get content
out of the home directory of the user "username
", out of
the subdirectory specified by the UserDir
directive.
Related Modules | Related Directives |
---|---|
The UserDir
directive specifies a directory out of which per-user
content is loaded. This directive may take several different forms.
If a path is given which does not start with a leading slash, it is assumed to be a directory path relative to the home directory of the specified user. Given this configuration:
UserDir public_html
the URL Apache HTTP Server Version 2.0 On systems with multiple users, each user can be permitted to have a
web site in their home directory using the http://example.com/~rbowen/file.html
Per-user web directories
UserDir
directive. Visitors
to a URL http://example.com/~username/
will get content
out of the home directory of the user "username
", out of
the subdirectory specified by the UserDir
directive. Per-user web directories
Setting the file path with UserDir
Restricting what users are permitted to use this
feature
Enabling a cgi directory for each user
Allowing users to alter configuration
See also
Per-user web directories
Related Modules Related Directives