-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
54 lines (37 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# LemonLDAP - Dokuwiki auth plugin.
You can find an up2date documentation here:
http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/DocAppDokuwiki
The Dokuwiki must be provided by the http server wheris the lemonLDAP handler.
Both files must be pushed in $DOKU_INSTALL/inc/auth/ and this line must be
pushed at the end of $DOKU_INSTALL/conf/local.php
$conf['authtype'] = 'lemonldap';
For information, this can be an Apache2 lemon/doku config file:
PerlRequire /var/lib/lemonldap-ng/handler/MyHandler.pm
<VirtualHost *>
ServerName dokuwiki.sso-lemonldap.com
PerlOptions +GlobalRequest
PerlHeaderParserHandler MyHandler
<Files *.pl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlSendHeader On
</Files>
# DocumentRoot
DocumentRoot /var/www/dokuwiki.sso-lemonldap.com
<Directory /var/www/dokuwiki.sso-lemonldap.com>
Order deny,allow
#Deny from all
Allow from all
Options -Indexes +FollowSymLinks +MultiViews
</Directory>
<Location /logout >
PerlHeaderParserHandler MyHandler->logout
</Location>
<IfModule mod_dir.c>
DirectoryIndex index.pl index.php index.html
</IfModule>
# Logs
LogLevel warn
ErrorLog /var/log/apache2/dokuwikisso-lemonldap.com-error.log
CustomLog /var/log/apache2/dokuwikisso-lemonldap.com-access.log combined
</VirtualHost>