httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hafid AIT IFRANE <>
Subject [users@httpd] Require file-owner doesn't work with ldap??
Date Fri, 09 Apr 2004 10:42:30 GMT
Hi all,

I still have problem with "Require file-owner" directive. I get an error 
401 (authorization required) but i'm sure to give the valid credentials to 
acces te directory.

I don't understand why it doesn't work while "require valid-user" does. I'm 
connecting to an LDAP server to authenticate and this is my config in 
httpd.conf : ( Apache 1.3.26-0woody3)

LoadModule auth_ldap_module /usr/lib/apache/1.3/
LoadModule auth_module /usr/lib/apache/1.3/

<Directory /home/*/*/public_html>
Dav On
AuthName "Tests de reconnaissance de user LDAP pour apache"
AuthLDAPURL ldap://,  o=inapg, c=fr?uid?sub
AuthType Basic

         Order allow,deny
         Allow from all
         #Require file-owner  (this doesn't work, but the following line does)
         require valid-user

I precise that authentication works locally on my server with the 
username/password i use to connect to apache (wich gives me an error 401).
I think i'm missing something but i don't know what. Any idea?

Thank you for your answer.

Centre de ressources informatiques
16 rue Claude Bernard
75231 Paris cedex 05

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message