VirtualHost 192 168 134 ServerAdmin webmaster localhost ServerName hom

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
<VirtualHost 192.168.134.2>
ServerAdmin webmaster@localhost
ServerName home
ServerRoot /var/web/home
DocumentRoot /var/web/home/html
UserDir public_html
<Directory /home/*/public_html>
Require all granted
AllowOverride all
</Directory>
<Directory /var/web/home/html>
Require all granted
AllowOverride all
</Directory>
ErrorDocument 404 http://home/www/
ErrorLog logs/error.log
CustomLog logs/access.log combined
DirectoryIndex public.html
</VirtualHost>