fix httpd template

tags/0.1.0
Daniel Berteaud 13 years ago
parent 84530086c7
commit 02b97137d1
  1. 8
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98awstats

@ -39,7 +39,9 @@ Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/"
SSLRequireSSL on SSLRequireSSL on
</Directory> </Directory>
foreach my $dom ($d->domains){ EOF
foreach my $dom ($d->domains){
my $stats = $dom->prop('Stats') || 'disabled'; my $stats = $dom->prop('Stats') || 'disabled';
next unless ($stats eq 'enabled'); next unless ($stats eq 'enabled');
my $name = $dom->key; my $name = $dom->key;
@ -56,8 +58,6 @@ foreach my $dom ($d->domains){
</Directory> </Directory>
HERE HERE
} }
EOF
} }
} }

Loading…
Cancel
Save