On 15/03/17 06:16, Per Jessen wrote:
Paul Groves wrote:
I tried this:
http://stackoverflow.com/questions/5627184/htaccess-from-specific-unix-group
but apache cannot recognise AuthzUnixgroup on and will not start Try this:
http://ben.kulbertis.org/2016/03/changes-in-mod-authz-unixgroup-from-apache-...
It seems to explain the situation.
Great that solved one problem, Thanks. Apache now starts without error. But... as we know apache 2.4 can be mysterious... With the Require unixgroup groupname specified all I get now is internal server error. Same result if user is in group or not. Can anyone see where I have gone wrong? My config file contains <IfModule mod_authnz_external.so> AddExternalAuth pwauth /usr/sbin/pwauth SetExternalAuthMethod pwauth pipe </IfModule> <IfModule mod_authz_unixgroup.so> AddExternalGroup unixgroup /usr/sbin/unixgroup SetExternalGroupMethod unixgroup environment </IfModule> and under the Directory tag I have AuthType Basic AuthName "Login" AuthBasicProvider external AuthExternal pwauth <RequireAll> Require valid-user Require unix-group itdepartment #If I delete this line I can log in fine using any user </RequireAll> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org