<VirtualHost *:80>
ServerAdmin webmaster@site.ru
ServerName site.ru
ServerAlias www.site.ru
DocumentRoot /home/site.ru/www/
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/site.ru/www/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/site.ru-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/site.ru-access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost
ServerAdmin webmaster@site.ru
ServerName site.ru
ServerAlias www.site.ru
DocumentRoot /home/site.ru/www/
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/site.ru/www/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/site.ru-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/site.ru-access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost
Комментариев нет:
Отправить комментарий