Hola -

We've got a site running from root, but have a subdirectory called applications which contains programs which are not drupal apps. Most of them work fine, but we have one which depends on Apache 2.2's mod_auth_ldap, and when I place the LDAP directives into the .htaccess file, pages which used to return are now getting caught by the systemwide Drupal 404 error page. I've run them from a different port which is not managed by Drupal (same machine, same Apache config) w/o problem so the ldap module itself is configured ok.

Simple .htaccess here:

AuthName DrexelLibraries
AuthType Basic
AuthLDAPUrl "ldap://ldap.drexel.edu/ou=People,dc=drexel,dc=edu,o=internet?uid?sub"
require valid-user

Many thanks for any ideas/tips/pointers/etc.

Peter

Comments

peterivanick’s picture

Actually it looks to be any Auth directives at all, we have another directory using .htpasswd & that's causing the same grief.

rjl’s picture

I think you might try telling Drupal to ignore your "applications" directory

Check out this post

"Configuring .htaccess to ignore specific subfolders" at http://drupal.org/node/30334

peterivanick’s picture

Thanks, that semi-works, although I get some auth errors / strange behaviors I don't normally see, but I'll spend some further debugging time on them. Many thanks for your help!