File tree Expand file tree Collapse file tree 2 files changed +76
-0
lines changed
install/rhel/templates/web/httpd Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Original file line number Diff line number Diff line change 1+ <VirtualHost %ip%:%web_ssl_port%>
2+
3+ ServerName %domain_idn%
4+ %alias_string%
5+ ServerAdmin %email%
6+ DocumentRoot %sdocroot%
7+ 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+ ErrorLog /var/log/httpd/domains/%domain%.error.log
14+ <Directory %sdocroot%>
15+ AllowOverride All
16+ SSLRequireSSL
17+ Options +Includes -Indexes +ExecCGI
18+ php_admin_value open_basedir %docroot%
19+ </Directory>
20+ <Directory %home%/%user%/web/%domain%/stats>
21+ AllowOverride All
22+ </Directory>
23+ SSLEngine on
24+ SSLVerifyClient none
25+ SSLCertificateFile %ssl_crt%
26+ SSLCertificateKeyFile %ssl_key%
27+ %ssl_ca_str%SSLCertificateChainFile %ssl_ca%
28+
29+ <IfModule mod_ruid2.c>
30+ RMode config
31+ RUidGid %user% %group%
32+ RGroups apache
33+ </IfModule>
34+ <IfModule itk.c>
35+ AssignUserID %user% %group%
36+ </IfModule>
37+
38+ Include %home%/%user%/conf/web/shttpd.%domain%.conf*
39+
40+ </VirtualHost>
41+
Original file line number Diff line number Diff line change 1+ <VirtualHost %ip%:%web_port% >
2+
3+ ServerName %domain_idn%
4+ %alias_string%
5+ ServerAdmin %email%
6+ DocumentRoot %docroot%
7+ 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+ ErrorLog /var/log/httpd/domains/%domain%.error.log
14+ <Directory %docroot% >
15+ AllowOverride All
16+ Options +Includes -Indexes +ExecCGI
17+ php_admin_value open_basedir %docroot%
18+ </Directory >
19+ <Directory %home% /%user% /web /%domain% /stats >
20+ AllowOverride All
21+ </Directory >
22+
23+ <IfModule mod_ruid2.c >
24+ RMode config
25+ RUidGid %user% %group%
26+ RGroups apache
27+ </IfModule >
28+ <IfModule itk.c >
29+ AssignUserID %user% %group%
30+ </IfModule >
31+
32+ Include %home%/%user%/conf/web/httpd.%domain%.conf*
33+
34+ </VirtualHost >
35+
You can’t perform that action at this time.
0 commit comments