Sélection des tempaltes WebAppVirtualHost par défaut pour les vhost

tags/0.2.8
Daniel Berteaud 12 years ago
parent 38fa399f8f
commit a206270850
  1. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/81SimpleVHosts

@ -11,7 +11,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') || 'VirtualHosts'; my $templatePath = $vhost->prop('TemplatePath') || 'WebAppVirtualHost';
foreach my $port (qw(80 443)){ foreach my $port (qw(80 443)){
my %virtualHost = ( my %virtualHost = (
ipAddress => '0.0.0.0', ipAddress => '0.0.0.0',

Loading…
Cancel
Save