[Date Prev][Date Next] [Chronological] [Thread] [Top]

auth_ldap and apache : syntax error !


I want to do http authentification with LDAP. I use RudeDog
mod_auth_ldap. I install it without any error and it installs itself
in httpd.conf (the "<ifDefine LDAP> LoadModule..." stuff).

I want users to authentificate when they go to the php directory
(/usr/local/httpd/htdocs/php). So I insert these lines in the
httpd.conf :

<Location php/>
  AuthName "Restricted Area"
  AuthType Basic
  AuthLDAPUrl ldap://,dc=com?uid?
  require valid-user

But when I try to restart Apache, it says me "syntax error".

My questions :
- Where is my error ?
- For the moment am I doing right with ldap authentification ?