httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Vacelet" <manuel.vace...@gmail.com>
Subject [users@httpd] Authorization - require question
Date Wed, 25 Jul 2007 12:32:57 GMT
Hello all,

I'm facing some problems trying to understand how Require actually works.
Here is my objectives:
- I want to authenticate user against a file.
- I want to restrict a list of users to access to a Location.
- I have 3rd party authorization (AuthzSvnAccessFile) that may
restrict again the browsing.

And now my problem:
- I can restrict access to Location to the list of people in my file
with a 'Require valid-user'.
- But I cannot restrict access to a list of people with 'Require user'

Here the example of config:
----------------------------->8-----------------------------
<Location /svnroot/code>
   DAV svn
   SVNPath /var/lib/codex/svnroot/code

   AuthType Basic
   AuthName "Subversion Authorization"

   AuthUserFile /etc/httpd/conf/htpasswd
   Require user manuel
   AuthzSVNAccessFile /var/lib/svnroot/code/.SVNAccessFile
</Location>
----------------------------->8-----------------------------

Even if I don't authenticate as 'manuel' account I can browse my repository

FYI svnaccessfile is:
----------------------------->8-----------------------------
@member=manuel, john
[/]
* = r
@members = rw
----------------------------->8-----------------------------

Can anyone explain to me what happens ?
Thanks,
-- Manuel

---------------------------------------------------------------------
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