FreedomBox/data/etc/apache2/conf-available/ikiwiki-plinth.conf
Sunil Mohan Adapa d1fa4e054e
Use the common LDAP auth configuration in all modules
By maintaining a common LDAP auth configuration, it becomes easy for
us to change the configuration values in future for upgrades etc.
2017-03-29 17:24:04 -04:00

16 lines
362 B
Plaintext

Alias /ikiwiki /var/www/ikiwiki
Alias /ikiwiki-auth /var/www/ikiwiki
AddHandler cgi-script .cgi
<Location /ikiwiki>
Options +ExecCGI
</Location>
<Location /ikiwiki-auth>
Options +ExecCGI
Include includes/freedombox-auth-ldap.conf
Require ldap-group cn=admin,ou=groups,dc=thisbox
Require ldap-group cn=wiki,ou=groups,dc=thisbox
</Location>