Don't hardcode apache ports

tags/0.2.15_el5 0.2.15_el5
Daniel Berteaud 9 years ago
parent b32df6e81d
commit d0325c8866
  1. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/81SimpleVHosts

@ -12,7 +12,7 @@
my @vhosts = $db->get_all_by_prop('type' => 'vhost');
foreach my $vhost (@vhosts) {
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 = (
ipAddress => '0.0.0.0',
port => $port,

Loading…
Cancel
Save