|
| 1 | +<VirtualHost %ip%:%web_ssl_port%> |
| 2 | + |
| 3 | + ServerName %domain_idn% |
| 4 | + %alias_string% |
| 5 | + ServerAdmin %email% |
| 6 | + %docroot_string% |
| 7 | + %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ |
| 8 | + Alias /vstats/ %home%/%user%/web/%domain%/stats/ |
| 9 | + Alias /error/ %home%/%user%/web/%domain%/document_errors/ |
| 10 | + SuexecUserGroup %user% %group% |
| 11 | + CustomLog /var/log/httpd/domains/%domain%.bytes bytes |
| 12 | + CustomLog /var/log/httpd/domains/%domain%.log combined |
| 13 | + %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log |
| 14 | + <Directory %docroot%> |
| 15 | + AllowOverride AuthConfig FileInfo Indexes Limit |
| 16 | + SSLRequireSSL |
| 17 | + Options +Includes -Indexes %cgi_option% |
| 18 | + php_admin_value upload_tmp_dir %home%/%user%/tmp |
| 19 | + php_admin_value upload_max_filesize 10M |
| 20 | + php_admin_value max_execution_time 20 |
| 21 | + php_admin_value post_max_size 8M |
| 22 | + php_admin_value memory_limit 32M |
| 23 | + php_admin_flag mysql.allow_persistent off |
| 24 | + php_admin_flag safe_mode off |
| 25 | + php_admin_value session.save_path %home%/%user%/tmp |
| 26 | + php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%' |
| 27 | + </Directory> |
| 28 | + <Directory %home%/%user%/web/%domain%/stats> |
| 29 | + AllowOverride All |
| 30 | + </Directory> |
| 31 | + php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp |
| 32 | + SSLEngine on |
| 33 | + SSLVerifyClient none |
| 34 | + SSLCertificateFile %ssl_crt% |
| 35 | + SSLCertificateKeyFile %ssl_key% |
| 36 | + %ssl_ca_str%SSLCertificateChainFile %ssl_ca% |
| 37 | + <IfModule mod_ruid2.c> |
| 38 | + RMode config |
| 39 | + RUidGid %user% %group% |
| 40 | + RGroups apache |
| 41 | + </IfModule> |
| 42 | + <IfModule itk.c> |
| 43 | + AssignUserID %user% %group% |
| 44 | + </IfModule> |
| 45 | + |
| 46 | + Include %home%/%user%/conf/shttpd.%domain%.conf* |
| 47 | + |
| 48 | +</VirtualHost> |
| 49 | + |
0 commit comments