mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ikiwiki: Enable HTTP auth using LDAP.
This commit is contained in:
1 parent
7d80c95048
commit
70e0c4f61a
4 files changed
+16
-2
No files matched your search
@@ -1,6 +1,17 @@
|
||||
Alias /ikiwiki /var/www/ikiwiki
|
||||
Alias /ikiwiki-auth /var/www/ikiwiki
|
||||
AddHandler cgi-script .cgi
|
||||
|
||||
<Directory /var/www/ikiwiki>
|
||||
<Location /ikiwiki>
|
||||
Options +ExecCGI
|
||||
</Directory>
|
||||
</Location>
|
||||
|
||||
<Location /ikiwiki-auth>
|
||||
Options +ExecCGI
|
||||
|
||||
AuthType basic
|
||||
AuthName "login required"
|
||||
AuthBasicProvider ldap
|
||||
AuthLDAPURL "ldap:///ou=users,dc=thisbox?uid"
|
||||
Require valid-user
|
||||
</Location>
|
||||
Reference in new issue
Block a user