HSAdmin Backend Domains, E-Mail, Datenbanken
Michael Hierweck
2019-03-05 c09e9bba2e193126b4a65771722ad99ce4a0225f
commit | author | age
6208e0 1
PH 2 # This file is managed by HSAdmin.
3 # Do not edit manually. Changes will be overwritten.
4 #
5
5a7dfa 6 #foreach( $pac in ${hive.webpacs} )
c09e9b 7 <VirtualHost ${pac.curINetAddr.inetAddr}:80 ${pac.curINet6Addr.inetAddr}:80>
0cee4a 8     ServerName _
c45681 9     ServerAdmin webmaster@${pac.name}.hostsharing.net
6208e0 10
0cee4a 11     <Directory />
MH 12         Redirect 404 /
4a09fe 13         ErrorDocument 404 "No virtual host configured for this host name."
0cee4a 14     </Directory>
MH 15
16 </VirtualHost>
17
c09e9b 18 <VirtualHost ${pac.curINetAddr.inetAddr}:443 ${pac.curINet6Addr.inetAddr}:443>
0cee4a 19     ServerName _
c45681 20     ServerAdmin webmaster@${pac.name}.hostsharing.net
0cee4a 21
MH 22     SSLEngine On
0c294f 23     SSLCertificateFile /etc/apache2/pems-enabled/${pac.name}.hostsharing.net.crt
PH 24     SSLCertificateKeyFile /etc/apache2/pems-enabled/${pac.name}.hostsharing.net.key
25     SSLCertificateChainFile /etc/apache2/pems-enabled/${pac.name}.hostsharing.net.chain
0cee4a 26
MH 27     <Directory />
28         SSLRequireSSL On
29         Redirect 404 /
4a09fe 30         ErrorDocument 404 "No virtual host configured for this host name."
0cee4a 31     </Directory>
MH 32
33 </VirtualHost>
34
4a09fe 35 #end