File: //etc/apache2/vhosts/xmdev.ru/faidet.xmdev.ru
<VirtualHost 127.0.0.1:8080>
ServerName faidet.xmdev.ru
ServerAlias www.faidet.xmdev.ru
DocumentRoot /var/www/xmdev.ru/data/www/faidet.xmdev.ru
ServerAdmin [email protected]
DirectoryIndex index.html
AddDefaultCharset off
AssignUserID xmdev.ru xmdev.ru
CustomLog /var/www/httpd-logs/faidet.xmdev.ru.access.log combined
ErrorLog /var/www/httpd-logs/faidet.xmdev.ru.error.log
<FilesMatch "\.ph(p[3-5]?|tml)$">
SetHandler application/x-httpd-php5
</FilesMatch>
ScriptAlias /php-bin/ /var/www/php-bin-isp-php71/xmdev.ru/
AddHandler application/x-httpd-php5 .php .php3 .php4 .php5 .phtml
Action application/x-httpd-php5 /php-bin/php
SetEnvIf X-Forwarded-Proto https HTTPS=on
</VirtualHost>
<Directory /var/www/xmdev.ru/data/www/faidet.xmdev.ru>
Options +Includes -ExecCGI
</Directory>