mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-01-09 04:13:18 -08:00
31 lines
960 B
Smarty
31 lines
960 B
Smarty
<VirtualHost %ip%:%web_port%>
|
|
|
|
ServerName %domain_idn%
|
|
ServerAlias %alias_idn%
|
|
ServerAdmin %email%
|
|
DocumentRoot %docroot%
|
|
ScriptAlias /cgi-bin/ %home%/%user%/domains/%domain%/cgi-bin/
|
|
Alias /vstats/ %home%/%user%/domains/%domain%/stats/
|
|
Alias /error/ %home%/%user%/domains/%domain%/document_errors/
|
|
SuexecUserGroup %user% %group%
|
|
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
|
CustomLog /var/log/httpd/domains/%domain%.log combined
|
|
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
|
<Directory %docroot%>
|
|
AllowOverride AuthConfig FileInfo Indexes Limit
|
|
Options +Includes -Indexes +ExecCGI
|
|
|
|
php_admin_flag engine off
|
|
|
|
Action phpcgi-script /cgi-bin/php
|
|
AddHandler phpcgi-script .php
|
|
|
|
</Directory>
|
|
<Directory %home%/%user%/domains/%domain%/stats>
|
|
AllowOverride All
|
|
</Directory>
|
|
Include %home%/%user%/conf/%domain%.httpd.*
|
|
|
|
</VirtualHost>
|
|
|