htaccess: changes from v1 to v2 with require?

htaccess: changes from v1 to v2 with require?

am 05.06.2007 02:51:51 von o.m.watson

We've got a htaccess file that works perfectly under v1:

AuthName "protected"
AuthType Basic
AuthUserFile /www/xxx/adm/htpublishpasswd.txt
AuthGroupFile /www/xxx/adm/ht2007publishgroups.txt
require user H06064
require group nzjchs2007
satisfy any


ie either user H06064 or group nzjchs2007 can view it.

However, it fails under apache 2 (latest centro distro).

It only works if you replace the require user H06064 line with
require group H06064

and make the necessary additions to the group file.

Is this a bug?