update dokuwiki login regex to support pretty URL

tags/0.2.1
Daniel Berteaud 12 years ago
parent 53b0e0e7d9
commit 1329f0720b
  1. 4
      root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/050dokuwiki

@ -9,10 +9,10 @@ $conf->{'exportedHeaders'}->{"wiki.$domain"} = {
$conf->{'locationRules'}->{"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', 'default' => 'unprotect',
'(?#01data)^/data(.*)' => 'deny', '(?#01data)^/data(.*)' => 'deny',
'(?#10logout)^/doku.php(/start)?\\?(.*)do=logout' => 'logout_app' '(?#10logout)^/doku\\.php(/start)?\\?(.*)do=logout' => 'logout_app'
} unless ($conf->{'locationRules'}->{"wiki.$domain"}); } unless ($conf->{'locationRules'}->{"wiki.$domain"});

Loading…
Cancel
Save