mod_userdir.html revision 6c3fa49523412b2cadc1c8ea057855d575202625
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<!--#include virtual="header.html" -->
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesThis module is contained in the <code>mod_userdir.c</code> file, and
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesis compiled in by default. It provides for user-specific directories.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<!--%plaintext <?INDEX {\tt UserDir} directive> -->
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<strong>Syntax:</strong> UserDir <em>directory/filename</em><br>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<strong>Default:</strong> <code>UserDir public_html</code><br>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<Strong>Context:</strong> server config, virtual host<br>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<strong>Compatibility:</strong> All forms except the <code>UserDir
cfb941e9ad5276eef7bc8f3eedcd270f30cfec35fuankgpublic_html</code> form are only available in Apache 1.1 or above.<p>
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesThe UserDir directive sets the real directory in a user's home directory
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesto use when a request for a document for a user is received.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<em>Directory</em> is either <code>disabled</code>, to disable this feature,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes or the name of a directory, following one of the following
bb2b38cd44b032118359afbc743efbea12f48e61bnicholespatterns. If not disabled, then a request for
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<code>http://www.foo.com/~bob/one/two.html</code> will be translated to:
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesUserDir public_html -> ~bob/public_html/one/two.html
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesThe following directives will send redirects to the client:
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesUserDir http://www.foo.com/users -> http//www.foo.com/users/bob/one/two.html
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesUserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesUserDir http://www.foo.com/~*/ -> http://www.foo.com/~bob/one/two.html
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes<!--#include virtual="footer.html" -->