Koozali.org: home of the SME Server

Using LDAP Auth. in .htaccess file with a 5.5 Box

Paul T.C.Fung

Using LDAP Auth. in .htaccess file with a 5.5 Box
« on: December 31, 2002, 01:04:53 PM »
Dear all,

I have get my 5.5 box running very happily with .htaccess support, but then I found it very troublesome to add user with a text file .htpasswd.

As I guess the 5.5 box are having all the function needed for using LDAP Auth in the .htaccess system..... so I have setup like this :

======================
.htaccess
======================
AuthName "User with system Password only"
AuthType Basic

AuthLDAPURL ldap://127.0.0.1:389/dc=myserver,dc=com?uid??
AuthLDAPAuthoritative On

require valid-user

order deny,allow
deny from all
allow from none
satisfy any
=======================

But I got a error saying :
Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request.

looks like I miss out something ??   Please advice, and thanks !!

Best Regards,

Paul T.C.Fung