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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -