DocumentRoot.     ,   
.

DocumentRoot _

 _       , -
   Apache .      . -
     ,   apache  -
            -
.  FHS (.  "    "  6)
    /srv.     
/home/www:

DocumentRoot /home/www

:  ,  
 : /usr/local/apache/htdocs
Red Hat: /var/www/html

UserDir.        .

UserDir _ \ disabled I enabled -

 _   ,  Apache   Web,  
     .   disabled
      , 
enabled      , -
    -.    , Apache
 ~/public_html.

Apache     UserDir.   -
 :

UserDir disabled

UserDir enabled useri user2 user3

UserDir web

        . 
     .   -
   (web),  Apache   Web,   -
       .
     ,  
   Web-,     /~    -
. ,       public_html 
 , a URI Web-  www.example.com,     Web-
    http://www.example.com/~sam.  
Web-  Apache (  apache)   
        ,  
    .

Red Hat    httpd.conf   ServerName  -
  :

UserDir disable
#UserDir public html

 26.  Web- Apache (httpd)                                 789