diff --git a/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/050dokuwiki b/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/050dokuwiki index 201961e..69fa21f 100644 --- a/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/050dokuwiki +++ b/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/050dokuwiki @@ -9,10 +9,10 @@ $conf->{'exportedHeaders'}->{"wiki.$domain"} = { $conf->{'locationRules'}->{"wiki.$domain"} = { - '(?#02login)^/doku.php(/start)?\\?(.*)do=login' => '$groups =~ /\\b(equipe|admins)\\b/', + '(?#02login)^/doku\\.php(/start)?(\\?|/)(.*)do=login' => '$groups =~ /\\b(equipe|admins)\\b/', 'default' => 'unprotect', '(?#01data)^/data(.*)' => 'deny', - '(?#10logout)^/doku.php(/start)?\\?(.*)do=logout' => 'logout_app' + '(?#10logout)^/doku\\.php(/start)?\\?(.*)do=logout' => 'logout_app' } unless ($conf->{'locationRules'}->{"wiki.$domain"});