HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2019-03-27 b0fca568ac94998fea36945743e5bd4a0cdc4b5f
ipv6 in square brackets
1 files added
2 files modified
23 ■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm 4 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/httpd-virtual.vm 4 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/pac-zonefile.vm 15 ●●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/apache-vhost.vm
@@ -3,7 +3,7 @@
# Do not edit manually. Changes will be overwritten.
#
<VirtualHost ${pac.curINetAddr.inet4Addr}:80 ${pac.oldINetAddr.inet4Addr}:80 ${pac.curINetAddr.inet6Addr}:80 ${pac.oldINetAddr.inet6Addr}:80>
<VirtualHost ${pac.curINetAddr.inet4Addr}:80 ${pac.oldINetAddr.inet4Addr}:80 [${pac.curINetAddr.inet6Addr}]:80 [${pac.oldINetAddr.inet6Addr}]:80>
    ServerName ${dom.name}
    ServerAlias ${dom.serveraliases}
    ServerAdmin webmaster@${dom.name}
@@ -76,7 +76,7 @@
    Action application/x-httpd-php /fastcgi-bin/phpstub
</VirtualHost>
<VirtualHost ${pac.curINetAddr.inet4Addr}:443 ${pac.oldINetAddr.inet4Addr}:443 ${pac.curINetAddr.inet6Addr}:443 ${pac.oldINetAddr.inet6Addr}:443>
<VirtualHost ${pac.curINetAddr.inet4Addr}:443 ${pac.oldINetAddr.inet4Addr}:443 [${pac.curINetAddr.inet6Addr}]:443 [${pac.oldINetAddr.inet6Addr}]:443>
    ServerName ${dom.name}
    ServerAlias ${dom.serveraliases}
    ServerAdmin webmaster@${dom.name}
hsarback/src/de/hsadmin/mods/pac/httpd-virtual.vm
@@ -4,7 +4,7 @@
#
#foreach( $pac in ${hive.webpacs} )
<VirtualHost ${pac.curINetAddr.inet4Addr}:80 ${pac.curINetAddr.inet6Addr}:80>
<VirtualHost ${pac.curINetAddr.inet4Addr}:80 [${pac.curINetAddr.inet6Addr}]:80>
    ServerName _
    ServerAdmin webmaster@${pac.name}.hostsharing.net
@@ -15,7 +15,7 @@
</VirtualHost>
<VirtualHost ${pac.curINetAddr.inet4Addr}:443 ${pac.curINetAddr.inet6Addr}:443>
<VirtualHost ${pac.curINetAddr.inet4Addr}:443 [${pac.curINetAddr.inet6Addr}]:443>
    ServerName _
    ServerAdmin webmaster@${pac.name}.hostsharing.net
hsarback/src/de/hsadmin/mods/pac/pac-zonefile.vm
New file
@@ -0,0 +1,15 @@
$TTL 6H
${pac.name}.hostsharing.net. IN SOA ${hive}.hostsharing.net. hostmaster.hostsharing.net. (
        ${sio}  ; serial secs since Jan 1 1970
        6H    ; refresh (>=10000)
        1H    ; retry (>=1800)
        1W    ; expire
        1H    ; minimum
)
${pac.name}.hostsharing.net.      IN    NS  dns1.hostsharing.net.
${pac.name}.hostsharing.net.      IN    NS  dns2.hostsharing.net.
${pac.name}.hostsharing.net.      IN    NS  dns3.hostsharing.net.
${pac.name}.hostsharing.net.      IN    A    ${pac.curINetAddr.inet4Addr}
${pac.name}.hostsharing.net.      IN    AAAA ${pac.curINetAddr.inet6Addr}