I have finally moved to Apache Httpd 2.4 from 2.2 and I am having issues getting our basic authentication to our ldap for some very specific areas. Below is what our 2.2 configuration used and worked just fine and the new 2.4 config that
is not working. When I use the 2.4 it prompts for username and password but throws a Internal Server Error after submitting. I am sure it is something I am missing but I cannot figure it out. 2.2 config <Location /tpg> AuthType basic AuthBasicProvider ldap AuthName "Partners" SetHandler none Order deny,allow Deny from all Allow from all AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com AuthzLDAPAuthoritative off Require valid-user </Location> <Location /SoftwareDownload> AuthType basic AuthBasicProvider ldap AuthName "Partners" SetHandler none Order deny,allow Deny from all Allow from all AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com AuthzLDAPAuthoritative off Require valid-user </Location> <Location /focis> AuthType basic AuthBasicProvider ldap AuthName "Partners" SetHandler none Order deny,allow Deny from all Allow from all AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com AuthzLDAPAuthoritative off Require valid-user </Location> 2.4 config (If I add “Required all granted” if does not prompt and lets everyone in) <Location /tpg> AuthType basic AuthBasicAuthoritative On AuthBasicProvider ldap AuthName "Partners" SetHandler none AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com Require valid-user </Location> <Location /SoftwareDownload> AuthType basic AuthBasicAuthoritative On AuthBasicProvider ldap AuthName "Partners" SetHandler none AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com Require valid-user </Location> <Location /focis> AuthType basic AuthBasicAuthoritative On AuthBasicProvider ldap AuthName "Partners" SetHandler none AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com Require valid-user </Location> John Berger |