|
|
@@ -0,0 +1,34 @@
|
|
|
+<VirtualHost %ip%:%web_ssl_port%>
|
|
|
+
|
|
|
+ ServerName %domain_idn%
|
|
|
+ ServerAlias %alias_idn%
|
|
|
+ ServerAdmin %email%
|
|
|
+ DocumentRoot %docroot%
|
|
|
+ ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
|
|
|
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
|
|
|
+ Alias /error/ %home%/%user%/web/%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
|
|
|
+ SSLRequireSSL
|
|
|
+ Options +Includes -Indexes +ExecCGI
|
|
|
+ php_admin_flag engine off
|
|
|
+ AddHandler fcgid-script .php
|
|
|
+ FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
|
|
|
+ </Directory>
|
|
|
+ <Directory %home%/%user%/web/%domain%/stats>
|
|
|
+ AllowOverride All
|
|
|
+ </Directory>
|
|
|
+ php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp
|
|
|
+ SSLEngine on
|
|
|
+ SSLVerifyClient none
|
|
|
+ SSLCertificateFile %ssl_cert%
|
|
|
+ SSLCertificateKeyFile %ssl_key%
|
|
|
+
|
|
|
+ Include %home%/%user%/conf/shttpd.%domain%.conf*
|
|
|
+
|
|
|
+</VirtualHost>
|
|
|
+
|