/httpd/modules/aaa/ |
H A D | mod_allowhandlers.c | 88 static const char *set_allowed_handlers(cmd_parms *cmd, void *d, int argc, char *const argv[]) argument 92 const char *err = ap_check_cmd_context(cmd, NOT_IN_HTACCESS); 116 conf->handlers = apr_table_make(cmd->pool, 4);
|
H A D | mod_allowmethods.c | 106 static const char *am_allowmethods(cmd_parms *cmd, void *d, int argc, argument 128 return apr_pstrcat(cmd->pool, "AllowMethods: Invalid Method '",
|
H A D | mod_authz_user.c | 96 static const char *user_parse_config(cmd_parms *cmd, const char *require_line, argument 102 expr = ap_expr_parse_cmd(cmd, require_line, AP_EXPR_FLAG_STRING_RESULT, 106 return apr_pstrcat(cmd->temp_pool,
|
H A D | mod_authn_anon.c | 88 static const char *anon_set_string_slots(cmd_parms *cmd, argument 105 conf->users = apr_palloc(cmd->pool, sizeof(*conf->users)); 106 conf->users->user = apr_pstrdup(cmd->pool, arg);
|
H A D | mod_authn_dbm.c | 61 static const char *set_dbm_type(cmd_parms *cmd, argument 67 conf->dbmtype = apr_pstrdup(cmd->pool, arg);
|
/httpd/modules/arch/unix/ |
H A D | mod_systemd.c | 118 static const char *set_shutdown_timer(cmd_parms *cmd, void *dummy, argument 121 const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
|
H A D | mod_unixd.c | 210 unixd_set_user(cmd_parms *cmd, void *dummy, argument 213 const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); 238 unixd_set_group(cmd_parms *cmd, void *dummy, argument 241 const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); 253 unixd_set_chroot_dir(cmd_parms *cmd, void *dummy, argument 256 const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); 260 if (!ap_is_directory(cmd->pool, arg)) { 269 unixd_set_suexec(cmd_parms *cmd, void *dummy, int arg) argument 271 const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); 278 return apr_pstrcat(cmd [all...] |
/httpd/modules/dav/fs/ |
H A D | mod_dav_fs.c | 72 static const char *dav_fs_cmd_davlockdb(cmd_parms *cmd, void *config, argument 76 conf = ap_get_module_config(cmd->server->module_config, 78 conf->lockdb_path = ap_server_root_relative(cmd->pool, arg1); 81 return apr_pstrcat(cmd->pool, "Invalid DAVLockDB path ",
|
/httpd/modules/dav/lock/ |
H A D | mod_dav_lock.c | 65 static const char *dav_lock_cmd_davlockdb(cmd_parms *cmd, void *config, argument 70 conf->lockdb_path = ap_server_root_relative(cmd->pool, arg1); 73 return apr_pstrcat(cmd->pool, "Invalid DAVGenericLockDB path ",
|
/httpd/modules/generators/ |
H A D | mod_suexec.c | 58 static const char *set_suexec_ugid(cmd_parms *cmd, void *mconfig, argument 62 const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE); 69 return apr_pstrcat(cmd->pool, "SuexecUserGroup configured, but "
|
/httpd/modules/loggers/ |
H A D | mod_syslog.c | 142 static const char *syslog_error_log_parse(cmd_parms *cmd, const char *arg) argument 144 const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); 147 return apr_pstrcat(cmd->pool,
|
/httpd/server/mpm/simple/ |
H A D | simple_api.c | 228 static const char *set_proccount(cmd_parms * cmd, void *baton, argument 231 const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); 241 static const char *set_threadcount(cmd_parms * cmd, void *baton, argument 245 const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
|
/httpd/modules/arch/netware/ |
H A D | mod_netware.c | 72 static const char *set_extension_map(cmd_parms *cmd, netware_dir_config *m, argument 97 static apr_status_t ap_cgi_build_command(const char **cmd, const char ***argv, argument 118 *cmd = r->filename; 124 cmd_only = apr_pstrdup(p, *cmd); 127 /* truncate any arguments from the cmd */ 154 *cmd = apr_pstrcat (p, new_cmd, " ", cmd_only, NULL); 162 apr_tokenize_to_argv(*cmd, (char***)argv, p); 165 *cmd = ap_server_root_relative(p, *argv[0]);
|
/httpd/modules/debugging/ |
H A D | mod_dumpio.c | 216 static const char *dumpio_enable_input(cmd_parms *cmd, void *dummy, int arg) argument 218 dumpio_conf_t *ptr = ap_get_module_config(cmd->server->module_config, 225 static const char *dumpio_enable_output(cmd_parms *cmd, void *dummy, int arg) argument 227 dumpio_conf_t *ptr = ap_get_module_config(cmd->server->module_config,
|
/httpd/modules/echo/ |
H A D | mod_echo.c | 45 static const char *echo_on(cmd_parms *cmd, void *dummy, int arg) argument 47 EchoConfig *pConfig = ap_get_module_config(cmd->server->module_config,
|
/httpd/modules/examples/ |
H A D | mod_case_filter.c | 107 static const char *CaseFilterEnable(cmd_parms *cmd, void *dummy, int arg) argument 109 CaseFilterConfig *pConfig=ap_get_module_config(cmd->server->module_config,
|
H A D | mod_case_filter_in.c | 125 static const char *CaseFilterInEnable(cmd_parms *cmd, void *dummy, int arg) argument 128 = ap_get_module_config(cmd->server->module_config,
|
/httpd/modules/filters/ |
H A D | mod_reflector.c | 197 static const char *reflector_header(cmd_parms * cmd, void *dummy, const char *in, argument
|
/httpd/modules/http/ |
H A D | http_core.c | 51 static const char *set_keep_alive_timeout(cmd_parms *cmd, void *dummy, argument 55 const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE); 63 cmd->server->keep_alive_timeout = timeout; 72 if (cmd->server->is_virtual) { 73 cmd->server->keep_alive_timeout_set = 1; 78 static const char *set_keep_alive(cmd_parms *cmd, void *dummy, argument 81 const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE); 86 cmd->server->keep_alive = arg; 90 static const char *set_keep_alive_max(cmd_parms *cmd, void *dummy, argument 93 const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FIL [all...] |
/httpd/modules/mappers/ |
H A D | mod_actions.c | 92 static const char *add_action(cmd_parms *cmd, void *m_v, argument 99 return apr_pstrcat(cmd->pool, 104 apr_pstrcat(cmd->pool, option ? "1" : "0", script, NULL)); 110 static const char *set_script(cmd_parms *cmd, void *m_v, argument 115 if (cmd->pool == cmd->temp_pool) { 123 methnum = ap_method_register(cmd->pool, method); 130 return apr_pstrcat(cmd->pool, "Could not register method '", method,
|
/httpd/modules/metadata/ |
H A D | mod_env.c | 92 static const char *add_env_module_vars_passed(cmd_parms *cmd, void *sconf_, argument 101 apr_table_setn(vars, arg, apr_pstrdup(cmd->pool, env_var)); 104 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(01506) 111 static const char *add_env_module_vars_set(cmd_parms *cmd, void *sconf_, argument 124 static const char *add_env_module_vars_unset(cmd_parms *cmd, void *sconf_, argument
|
H A D | mod_version.c | 172 static const char *start_ifversion(cmd_parms *cmd, void *mconfig, argument 200 return apr_pstrcat(cmd->pool, cmd->cmd->name, 223 compare = compare_version(apr_pstrmemdup(cmd->temp_pool, arg2, 241 match = match_version(cmd->temp_pool, 242 apr_pstrmemdup(cmd->temp_pool, arg2, 251 compare = compare_version(apr_pstrmemdup(cmd->temp_pool, arg2, 262 compare = compare_version(apr_pstrmemdup(cmd->temp_pool, arg2, 279 return apr_pstrcat(cmd [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy_express.c | 30 static const char *set_dbmfile(cmd_parms *cmd, argument 35 sconf = ap_get_module_config(cmd->server->module_config, &proxy_express_module); 37 if ((sconf->dbmfile = ap_server_root_relative(cmd->pool, arg)) == NULL) { 38 return apr_pstrcat(cmd->pool, "ProxyExpressDBMFile: bad path to file: ", 44 static const char *set_dbmtype(cmd_parms *cmd, argument 49 sconf = ap_get_module_config(cmd->server->module_config, &proxy_express_module); 51 sconf->dbmtype = apr_pstrdup(cmd->pool, arg); 55 static const char *set_enabled(cmd_parms *cmd, argument 60 sconf = ap_get_module_config(cmd->server->module_config, &proxy_express_module);
|
/httpd/modules/ssl/ |
H A D | ssl_engine_rand.c | 75 const char *cmd = pRandSeed->cpPath; local 80 argv[0] = cmd; 84 if ((fp = ssl_util_ppopen(s, p, cmd, argv)) == NULL)
|
/httpd/support/ |
H A D | suexec.c | 295 char *cmd; /* command to be executed */ local 369 cmd = argv[3]; 395 if ((cmd[0] == '/') || (!strncmp(cmd, "../", 3)) 396 || (strstr(cmd, "/../") != NULL)) { 397 log_err("invalid command (%s)\n", cmd); 490 log_no_err("uid: (%s/%s) gid: (%s/%s) cmd: %s\n", 493 cmd); 500 log_err("cannot run as forbidden uid (%lu/%s)\n", (unsigned long)uid, cmd); 509 log_err("cannot run as forbidden gid (%lu/%s)\n", (unsigned long)gid, cmd); [all...] |