httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Matthews" <paul.matth...@cathedral.qld.edu.au>
Subject Re: [users@httpd] Password protect apache home directories
Date Wed, 22 Mar 2006 07:02:37 GMT
> hi there,
>
> what i'm trying to do is set apache so that when i user trys to access
> there home directory http://www.example.com/~username they have to enter
> there password/username? without adding in each home directory into my
> httpd.conf file and then adding require valid username is there a way i
> can do this automatically?
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
I've found this website

http://httpd.apache.org/docs/2.2/mod/mod_authz_owner.html

but i'm not sure if i have the mod_authz_owner

can someone tell me how to find out if i do?

if someone here has ever used this mod or knows how to use it with ldap
can they tell me about it.

this is my current setup and it's not working, it's just denying me access

<Directory /home/*/public_html>
AuthType Basic
AuthName "Case Network ID"
AuthLDAPURL "ldap://127.0.0.1/ou=people,dc=fedora,dc=directory,dc=server"
AuthLDAPBindDN "uid=root,ou=people,dc=fedora,dc=directory,dc=server"
AuthLDAPBindPassword "password"
Satisfy All
require file-owner
</Directory>

when i change it to

require valid-user it works


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message