This is a discussion on Have 2 authentication in one htaccess file within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi guys, I am not sure if I have post in the correct place. I am wondering if it is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi guys,
I am not sure if I have post in the correct place. I am wondering if it is possible to have 2 different authentication method through one htaccess file? Example: Bob uses LDAP to access the webpage, Jane uses htpasswd file to access the webpage. Would it be possible for apache to search for the required info by using something like and 'if...else...' statement like SEARCH LDAP for Jane ID IF (Jane ID not found in LDAP) THEN SEARCH htaccess file END I hope I have clearly explain my dilemma. I am open to any suggestions/ opinions/criticisms on this authentication issue. |
| Thread Tools | |
| Display Modes | |
|
|