z
This commit is contained in:
41
update/data/templates/ips_virtual_host.conf
Normal file
41
update/data/templates/ips_virtual_host.conf
Normal file
@@ -0,0 +1,41 @@
|
||||
|?CACERT_LINE=|
|
||||
|*if CACERT!=""|
|
||||
|?CACERT_LINE=SSLCACertificateFile `CACERT`|
|
||||
|*endif|
|
||||
|?APACHE_USERDIR=UserDir public_html|
|
||||
|*if HAVE_USERDIR_ACCESS="0"|
|
||||
|?APACHE_USERDIR=|
|
||||
|*endif|
|
||||
|
||||
<VirtualHost |IP|:|PORT_80|>
|
||||
ServerName shared.domain
|
||||
|APACHE_USERDIR|
|
||||
DocumentRoot |DOCROOT|
|
||||
|*if APACHE_VER="2.0"|
|
||||
SuexecUserGroup |USER| |GROUP|
|
||||
|*else|
|
||||
User |USER|
|
||||
Group |GROUP|
|
||||
|*endif|
|
||||
CustomLog /var/log/httpd/homedir.log homedir
|
||||
CustomLog /var/log/httpd/access_log combined
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost |IP|:|PORT_443|>
|
||||
SSLEngine on
|
||||
SSLCertificateFile |CERT|
|
||||
SSLCertificateKeyFile |KEY|
|
||||
|CACERT_LINE|
|
||||
|
||||
ServerName shared.domain
|
||||
|APACHE_USERDIR|
|
||||
DocumentRoot |DOCROOT|
|
||||
|*if APACHE_VER="2.0"|
|
||||
SuexecUserGroup |USER| |GROUP|
|
||||
|*else|
|
||||
User |USER|
|
||||
Group |GROUP|
|
||||
|*endif|
|
||||
CustomLog /var/log/httpd/homedir.log homedir
|
||||
CustomLog /var/log/httpd/access_log combined
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user