apache - .htaccess from specific UNIX group -
i need create login users group users. have this:
authtype basic authname "restricted files" authuserfile path?? what path .htaccess users group users? how can solve this?
assuming mean system group (you wrote "unix group"): use mod_authz_unixgroup , mod_authnz_external.
addexternalauth pwauth /usr/sbin/pwauth setexternalauthmethod pwauth pipe ... <location /path/to/restricted/...> authtype basic authname "restricted area" authbasicprovider external authexternal pwauth authzunixgroup on require group ... </location>
Comments
Post a Comment