Have 2 authentication in one htaccess file

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 6 Days Ago
IvikaRazI
 
Posts: n/a
Default Have 2 authentication in one htaccess file

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0