I want to define two different auth providers in my apache2 .htaccess in case one fails (the desired one is ldap but i want to be able to login even if ldap fails via local htpasswd file)
I tried this but i cant get it to work since apache complains about a already defined auth type.
If i define both auth types inside my site.conf im cannot login via local htpasswd file, because of the "Require" line, which ensures the right ldap group and the local file cant handle that rule, since it needs only Require valid-user
.
Require ldap-group CN=admins,OU=Groups,OU=main,DC=my,DC=tld