|
|
@ -12,7 +12,7 @@ |
|
|
|
my @vhosts = $db->get_all_by_prop('type' => 'vhost'); |
|
|
|
my @vhosts = $db->get_all_by_prop('type' => 'vhost'); |
|
|
|
foreach my $vhost (@vhosts) { |
|
|
|
foreach my $vhost (@vhosts) { |
|
|
|
my $templatePath = $vhost->prop('TemplatePath') || 'WebAppVirtualHost'; |
|
|
|
my $templatePath = $vhost->prop('TemplatePath') || 'WebAppVirtualHost'; |
|
|
|
foreach my $port (qw(80 443)){ |
|
|
|
foreach my $port ((${'httpd-e-smith'}{'TCPPort'} || '80'), ($modSSL{'TCPPort'} || '443')){ |
|
|
|
my %virtualHost = ( |
|
|
|
my %virtualHost = ( |
|
|
|
ipAddress => '0.0.0.0', |
|
|
|
ipAddress => '0.0.0.0', |
|
|
|
port => $port, |
|
|
|
port => $port, |
|
|
|