HSAdmin Backend Domains, E-Mail, Datenbanken
Michael Hierweck
2012-09-20 fea9a5a083215f48f7e94eaabc3a005a08ee93cb
Add template file for default virtual host configuration. (refs: #111)
1 files added
28 ■■■■■ changed files
hsarback/src/de/hsadmin/mods/pac/httpd-virtual.jtpl 28 ●●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/httpd-virtual.jtpl
New 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 -->