Lines Matching +refs:val +refs:server
126 * for both the server-wide and the per-directory contexts. This is
128 * server-wide ones are used in the post-read-request phase, and the
295 * cmd->path == NULL means we're in server-wide context; otherwise,
300 : (sei_cfg_rec *) ap_get_module_config(cmd->server->module_config,
428 * cmd->path == NULL means we're in server-wide context; otherwise,
433 : (sei_cfg_rec *) ap_get_module_config(cmd->server->module_config,
487 * re-doing the server-wide settings during directory processing), and
496 const char *val, *err;
505 sconf = (sei_cfg_rec *) ap_get_module_config(r->server->module_config,
514 val = NULL;
528 val = r->useragent_ip;
531 val = r->connection->local_ip;
534 val = ap_get_remote_host(r->connection, r->per_dir_config,
538 val = r->uri;
541 val = r->method;
544 val = r->protocol;
556 val = NULL;
559 val = elts[j].val;
565 val = apr_table_get(r->headers_in, b->name);
566 if (val == NULL) {
567 val = apr_table_get(r->subprocess_env, b->name);
571 val_len = val ? strlen(val) : 0;
584 if (val == NULL) {
585 val = "";
589 if ((b->pattern && apr_strmatch(b->pattern, val, val_len)) ||
590 (b->preg && !ap_regexec(b->preg, val, AP_MAX_REG_MATCH, regm, 0)) ||
591 (b->expr && ap_expr_exec_re(r, b->expr, AP_MAX_REG_MATCH, regm, &val, &err) > 0))
597 if (*(elts[j].val) == '!') {
602 char *replaced = ap_pregsub(r->pool, elts[j].val, val,
618 elts[j].val);
645 create_setenvif_config_svr, /* server config */
646 merge_setenvif_config, /* merge server configs */