Adding users...

Matthew Seaman m.seaman at
Thu Nov 27 11:46:45 PST 2003

On Thu, Nov 27, 2003 at 08:31:27PM +0100, Jean-Baptiste Quenot wrote:

> 3) If  you want to  have your user  directories outside of  the document
> root,  you will  have to  setup an  Alias for  each user,  or to  define
> another virtual  host.  But  that becomes  close to  solution 1  in that
> case.

Apache has the UserDir directive for this purpose.  The default
setting makes it so that user fred can create a directory
~fred/public_html that is visible to the world as


If you don't want the '~' symbol to appear in your URLs, you can't use
UserDir.  However, if you have a regular layout of your user
directories, you can use 'AliasMatch' to achive much the same effect:



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list