2.4.1 Choose a Root Directory

The root directory of a website is the directory corresponding to an URL query that has no directory or file specification. For example, http://www.drtak.org is such a query.

By default, Debian configures Apache to use /var/www as the root folder. This necessitates some special configurations as far as group access right is concerned. It is also more tricky to update the files at the web site.

One way to get around this problem is to use a ``user account'' directory as the root directory. This way, it is easier to update the server files.



Copyright © 2008-05-09 by Tak Auyeung