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

auth_ldap and apache : syntax error !



Hello,

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://127.0.0.1:389/dc=filigrane-press,dc=com?uid?
  require valid-user
</Location>

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 ?

Thanks,
Thomas