Add template file for default virtual host configuration. (refs: #111)

This commit is contained in:
Michael Hierweck 2012-09-20 15:24:04 +02:00
parent a16c082ba1
commit fea9a5a083

View File

@ -0,0 +1,28 @@
<!-- BEGIN: main -->#
# This file is managed by HSAdmin.
# Do not edit manually. Changes will be overwritten.
#
NameVirtualHost {PAC_IPNUMBER}:80
NameVirtualHost {PAC_IPNUMBER_EX}:80
NameVirtualHost {PAC_IPNUMBER}:443
NameVirtualHost {PAC_IPNUMBER_EX}:443
<VirtualHost {PAC_IPNUMBER}:80 {PAC_IPNUMBER_EX}:80>
Redirect 404 /
</VirtualHost>
<VirtualHost {PAC_IPNUMBER}:443 {PAC_IPNUMBER_EX}:443>
SSLEngine On
SSLCertificateFile /etc/apache2/pems/default.pem
SSLCertificateChainFile /etc/apache2/pems/default.chain.pem
SSLCertificateFile /etc/apache2/pems/{PAC}.pem
SSLCertificateChainFile /etc/apache2/pems/{PAC}.chain.pem
Redirect 404 /
</VirtualHost>
<!-- END: main -->