Welcome to the Information Technology website.

Web Migration: .htaccess

Content owners who use .htaccess and LDAP to control who can access their content will need to make some changes to these files. Your settings should look as follows:

AuthLDAPURL "ldap://odir.csun.edu:389/o=csun?mailLocalAddress"
AuthName "Enter your CSUN email address"
AuthType Basic
AuthBasicProvider ldap
AuthzLDAPAuthoritative Off

Require ldap-dn uid=jd12345,ou=People,ou=Auth,o=CSUN
Require ldap-dn uid=john,ou=People,ou=Auth,o=CSUN

Changing the LDAP URL is optional but the one shown above is more accurate. You will need to add these two lines:

AuthBasicProvider ldap
AuthzLDAPAuthoritative Off

Change the "Require" lines to use:

ldap-dn

If you have any questions, please email webhelp@csun.edu.

Return to Web Migration: Content Review.