Aenderung fuer apache und ProFTPd noch nicht aktiv
This commit is contained in:
parent
dfe33257b7
commit
09e7b1fc4e
@ -3,7 +3,7 @@
|
|||||||
# Do not edit manually. Changes will be overwritten.
|
# 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>
|
||||||
ServerName ${dom.name}
|
ServerName ${dom.name}
|
||||||
ServerAlias ${dom.serveraliases}
|
ServerAlias ${dom.serveraliases}
|
||||||
ServerAdmin webmaster@${dom.name}
|
ServerAdmin webmaster@${dom.name}
|
||||||
@ -76,7 +76,7 @@
|
|||||||
Action application/x-httpd-php /fastcgi-bin/phpstub
|
Action application/x-httpd-php /fastcgi-bin/phpstub
|
||||||
</VirtualHost>
|
</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>
|
||||||
ServerName ${dom.name}
|
ServerName ${dom.name}
|
||||||
ServerAlias ${dom.serveraliases}
|
ServerAlias ${dom.serveraliases}
|
||||||
ServerAdmin webmaster@${dom.name}
|
ServerAdmin webmaster@${dom.name}
|
||||||
|
@ -55,7 +55,12 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
|||||||
Pac pac = (Pac) entity;
|
Pac pac = (Pac) entity;
|
||||||
String basepacName = pac.getBasepac().getName();
|
String basepacName = pac.getBasepac().getName();
|
||||||
if (basepacName.equals(BasePacType.PAC_WEB)) {
|
if (basepacName.equals(BasePacType.PAC_WEB)) {
|
||||||
return createSetQuotaProc(pac);
|
Hive hive = pac.getHive();
|
||||||
|
return new CompoundProcessor(
|
||||||
|
createEtcHostsProc(hive),
|
||||||
|
createNetworkInterfacesProc(hive),
|
||||||
|
createSetQuotaProc(pac)
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
return new NullProcessor();
|
return new NullProcessor();
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#foreach( $pac in ${hive.webpacs} )
|
#foreach( $pac in ${hive.webpacs} )
|
||||||
<VirtualHost ${pac.curINetAddr.inet4Addr}:80 ${pac.curINetAddr.inet6Addr}:80>
|
<VirtualHost ${pac.curINetAddr.inet4Addr}:80>
|
||||||
ServerName _
|
ServerName _
|
||||||
ServerAdmin webmaster@${pac.name}.hostsharing.net
|
ServerAdmin webmaster@${pac.name}.hostsharing.net
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#foreach( $pac in ${hive.webpacs} )
|
#foreach( $pac in ${hive.webpacs} )
|
||||||
<VirtualHost ${pac.curINetAddr.inet4Addr} ${pac.curINetAddr.inet6Addr}>
|
<VirtualHost ${pac.curINetAddr.inet4Addr}>
|
||||||
DefaultRoot ~ ${pac.name}
|
DefaultRoot ~ ${pac.name}
|
||||||
ServerName "${pac.name}.hostsharing.net"
|
ServerName "${pac.name}.hostsharing.net"
|
||||||
AllowOverwrite on
|
AllowOverwrite on
|
||||||
|
Loading…
Reference in New Issue
Block a user