Lines 59-65
Link Here
|
59 |
const char *uid, const char *gid) |
59 |
const char *uid, const char *gid) |
60 |
{ |
60 |
{ |
61 |
suexec_config_t *cfg = (suexec_config_t *) mconfig; |
61 |
suexec_config_t *cfg = (suexec_config_t *) mconfig; |
62 |
const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE); |
62 |
const char *err = ap_check_cmd_context(cmd, NOT_IN_LOCATION|NOT_IN_FILES); |
63 |
|
63 |
|
64 |
if (err != NULL) { |
64 |
if (err != NULL) { |
65 |
return err; |
65 |
return err; |
Lines 116-122
Link Here
|
116 |
{ |
116 |
{ |
117 |
/* XXX - Another important reason not to allow this in .htaccess is that |
117 |
/* XXX - Another important reason not to allow this in .htaccess is that |
118 |
* the ap_[ug]name2id() is not thread-safe */ |
118 |
* the ap_[ug]name2id() is not thread-safe */ |
119 |
AP_INIT_TAKE2("SuexecUserGroup", set_suexec_ugid, NULL, RSRC_CONF, |
119 |
AP_INIT_TAKE2("SuexecUserGroup", set_suexec_ugid, NULL, RSRC_CONF|ACCESS_CONF, |
120 |
"User and group for spawned processes"), |
120 |
"User and group for spawned processes"), |
121 |
{ NULL } |
121 |
{ NULL } |
122 |
}; |
122 |
}; |