HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2019-03-07 35727b04e330b323ace37d8a6de9d9b264dd7e96
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} )
35727b 7 <VirtualHost ${pac.curINetAddr.inet4Addr}:80 ${pac.curINetAddr.inet6Addr}: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
35727b 18 <VirtualHost ${pac.curINetAddr.inet4Addr}:443 ${pac.curINetAddr.inet6Addr}: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