I would like to set up a .htaccess file so that visitors are first authenticated by LDAP, but if their login name is not in the LDAP directory, they are then authenticated against a .htpasswd file. I have both LDAP and .htaccess working; I just haven't found out how to combine these for the same site (if it's even possible).
Any help would be appreciated!
Search Result
Collapse
2 results in 0.0022 seconds.
Keywords
Members
Tags
-
multiple auth provider in htaccess
-
.htaccess redirects according to user/pw combination?
Hi all,
I need to set up an .htaccess file in a root folder that requires a username and a password, and will direct the user to a different folder depending on the username and password entered.
E.g.:- The user goes to www.example.com/
- They enter their username (bobsmith) and password (923r9w8c2w)
- They are redirected to www.example.com/bobsfolder/
- If a user goes to www.example.com/bobsfolder/ directly, they