diff --git a/root/etc/e-smith/events/actions/awstats-init-domain b/root/etc/e-smith/events/actions/awstats-init-domain index faf05ef..eee4850 100644 --- a/root/etc/e-smith/events/actions/awstats-init-domain +++ b/root/etc/e-smith/events/actions/awstats-init-domain @@ -33,14 +33,14 @@ $vhost = $d->get("stats.$domain"); if (!$vhost){ $d->new_record("stats.$domain",{ - type => 'domain', - Content => 'Primary', - Description => "Statistiques web", - Nameservers => 'internet', - TemplatePath => 'WebAppVirtualHost', - DocumentRoot => '/usr/share/awstats/wwwroot', - LemonLDAP => 'enabled', - Removable => 'yes', + type => 'domain', + Content => 'Primary', + Description => "Statistiques web", + Nameservers => 'internet', + TemplatePath => 'WebAppVirtualHost', + DocumentRoot => '/usr/share/awstats/wwwroot', + Authentication => 'LemonLDAP', + Removable => 'yes', }); unless ( system("/sbin/e-smith/signal-event", "domain-create", "stats.$domain") == 0 ){