Hi List!

I'm running apache 2.2.8 on a linux-box and have problems withe the
basic authentication. The "require user" and "require group" can't be
combined in .htaccess.

Here my config
httpd.conf
----------
...
<Directory "/www/vhosts/myserver/htdocs">
    Options -Indexes FollowSymLinks
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>
...

in the Directory /www/vhosts/myserver/htdocs/mak
.htaccess
---------
AuthType Basic
AuthName "Interner Bereich"
AuthUserFile /etc/htpasswd
AuthGroupFile /etc/htgroup
Require user user1
Require group group1 group2 group3
# user1 is not a member of any group

Problem
-------
In apache 2.0.59 this config worked.
User1 AND all mebers of all three groups were allowed to access the
directory.

After updating to apache 2.2.8 this config doesn't work any more.
The combination of the "require user" and "require group" statements
allows only group-members to access the directory. User user1 is no more
allowed to access.
A single "require user user1" or a single "require group" are working.

error.log
---------
[Fri Mar 21 19:14:45 2008] [error] [client xx.xx.xx.xx] Authorization of
user user1 to access /mak failed, reason: user is not part of the
'require'ed group(s). , referer: http://bla.bla...


Please give me a hint, where i can search the solution.

Regards,
Florian

------------
The webserver ist compiled with defaults
../bin/httpd -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
.....


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to