DS
Size: a a a
АК
АК
DS
# ### IP-based Virtual Host
<VirtualHost *:8080>
ServerName food-fresh.ru
ServerAlias www.food-fresh.ru
ServerAdmin mail@food-fresh.ru
AddDefaultCharset utf-8
DocumentRoot /home/food-fresh/food-fresh.ru/docs
ErrorDocument 500 /errordocs/500.html
ErrorDocument 404 /errordocs/404.html
ErrorDocument 403 /errordocs/403.html
ErrorDocument 401 /errordocs/401.html
<IfModule mod_setenvif.c>
SetEnvIf X-Forwarded-Proto https HTTPS=on
SetEnvIf X-Request-Scheme https HTTPS=on
</IfModule>
<IfModule mod_alias.c>
Alias /errordocs /home/food-fresh/food-fresh.ru/errordocs
ScriptAlias /cgi-bin/ /home/food-fresh/food-fresh.ru/cgi/
</IfModule>
<IfModule mod_log_config.c>
ErrorLog /var/log/food-fresh.ru.error_log
CustomLog /var/log/food-fresh.ru.access_log combined
</IfModule>
<IfModule mod_mime.c>
AddHandler cgi-script .cgi .pl
AddHandler server-parsed .shtml .html .htm
<FilesMatch \.(php|phtml?)$>
SetHandler application/x-httpd-php
</FilesMatch>
AddType text/html .shtml .html .htm
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.shtml index.htm
</IfModule>
<Directory /home/food-fresh/food-fresh.ru/errordocs>
Options IncludesNoExec FollowSymLinks
AddDefaultCharset utf-8
AllowOverride None
</Directory>
<IfModule mod_php4.c>
php_value include_path ".:/home/food-fresh/food-fresh.ru/php"
php_value default_charset utf-8
</IfModule>
<Directory /home/food-fresh/food-fresh.ru/cgi>
Options None
AllowOverride All
<IfModule mod_access_compat.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
<IfModule mod_php5.c>
php_value include_path ".:/home/food-fresh/food-fresh.ru/php"
php_value default_charset utf-8
</IfModule>
<IfModule mod_php7.c>
php_value include_path ".:/home/food-fresh/food-fresh.ru/php"
php_value default_charset utf-8
</IfModule>
<Directory "/home/food-fresh/food-fresh.ru/docs/">
Options FollowSymLinks Includes
AllowOverride All
<IfModule mod_access_compat.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 hours"
</IfModule>
</VirtualHost>
VL
VL
АК
АК
VL