i want to check in my .htaccess against 2 LDAP-Groups (Admin & User)
Depending on the group i want to switch the user via setEnv.
The pseudo code looks like this:
- Code: Select all
If CurrentUser in LDAP-Gruppe "Admins"
Then SetEnv Admin
If Else CurrentUser in LDAP-Gruppe "User"
Then SetEnv Guest
Else Permit
I do not have any idea how to realize it. Can you please help me.
Best Regards,
Sven