Eric -
Thanks for the response, i do see how the multiple requires act as an OR statement. The only issue that i am facing now is the scenario I mentioned above, will apache not let me do something like:
<Directory /data/folder>#SetHandler fastcgi-script
Options ExecCGI FollowSymLinksAllowOverride None
AuthBasicProvider ldapAuthType Basic
AuthzLDAPAuthoritative offAuthName "Secret"
AuthLDAPURL "ldap://test.mydomain.com:3268/DC=mydomain,DC=internal?sAMAccountName?sub?(objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=mydomain,DC=internal)" NONE
AuthLDAPBindDN "CN=aduser,OU=ENT SERVICE ACCOUNTS,DC=mydomain,DC=internal"
AuthLDAPBindPassword mysupersecretpasswordRequire ldap-group CN=users,OU=ENT SECURITY GROUPS,DC=mydomain,DC=internal
</Directory>
<Directory /data/folder/projects/a>#SetHandler fastcgi-script
Options ExecCGI FollowSymLinksAllowOverride None
AuthBasicProvider ldapAuthType Basic
AuthzLDAPAuthoritative offAuthName "Secret"
AuthLDAPURL "ldap://test.mydomain.com:3268/DC=mydomain,DC=internal?sAMAccountName?sub?(objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=mydomain,DC=internal)" NONE
AuthLDAPBindDN "CN=aduser,OU=ENT SERVICE ACCOUNTS,DC=mydomain,DC=internal"
AuthLDAPBindPassword mysupersecretpasswordRequire ldap-group CN=users,OU=ENT SECURITY GROUPS,DC=mydomain,DC=internal
Require ldap-group CN=contractors,OU=ENT SECURITY GROUPS,DC=mydomain,DC=internal</Directory>
It appears if i try to access http://projects/a, using the contractor user it doesn't take the authentication, almost like apache is only considering the Directory state of /data/folder, and ignoring completely my 2nd Directory statement. I get an error in my logs of:
[Thu Apr 04 18:22:17 2013] [error] [client 10.0.0.10] access to /projects/a/ failed, reason: require directives present and no Authoritative handler.
Anyways thanks for your response.. I am trying to figure out how Apache deals with multiple directory statements inside the same directory tree.
Devin