- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
ServerAdmin webmaster@localhost
ServerName site.net
ServerAlias www.site.net
DocumentRoot /home/test/www/site.net
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
<VirtualHost 127.0.0.1:80>
ServerAdmin webmaster@localhost
ServerName sub.site.net
ServerAlias www.sub.site.net
DocumentRoot /home/test/www/sub.site.net
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
guest 25.07.2009 20:13 # −3