Lines Matching +refs:val +refs:server

36  *  per-server context (httpd.conf) and per-dir context (.htaccess) and even
335 server_rec *server; /* the corresponding server indicator */
472 (void *)(r->server),
637 * Based on ap_os_escape_path in server/util.c
992 char *val)
1033 apr_pstrdup(map->pool, val));
1047 char *val = NULL;
1063 val = apr_hash_get(map->entries, key, APR_HASH_KEY_STRING);
1064 if (val) {
1068 val = apr_pstrdup(p, val);
1078 return val;
1235 void *val;
1237 apr_hash_this(hi, NULL, NULL, &val);
1238 map = val;
1430 /* when `RewriteEngine off' was used in the per-server
1589 conf = ap_get_module_config(r->server->module_config, &rewrite_module);
1624 rewritelog((r, 5, NULL,"map lookup OK: map=%s[txt] key=%s -> val=%s",
1629 rewritelog((r,5,NULL,"cache lookup OK: map=%s[txt] key=%s -> val=%s",
1681 "val=%s", name, key, value));
1687 rewritelog((r, 5, NULL, "cache lookup OK: map=%s[dbm] key=%s -> val=%s",
1702 rewritelog((r, 5, NULL, "SQL map lookup OK: map %s key=%s, val=%s",
1724 rewritelog((r, 5, NULL, "SQL map lookup OK: map %s key=%s, val=%s",
1731 rewritelog((r, 5, NULL, "cache lookup OK: map=%s[SQL] key=%s, val=%s",
1746 rewritelog((r, 5, NULL, "map lookup OK: map=%s key=%s -> val=%s",
1761 rewritelog((r, 5, NULL, "map lookup OK: map=%s key=%s -> val=%s",
1774 const char *val = apr_table_get(ctx->r->headers_in, name);
1776 if (val) {
1783 return val;
1835 result = rewrite_ssl_lookup(r->pool, r->server, r->connection, r,
1857 "-> val=%s", path, var+5, result));
1892 "-> val=%s", path, var+5, result));
2122 result = r->server->server_admin;
2392 /* see ap_pregsub() in server/util.c */
2467 char *name, *val;
2477 if ((val = ap_strchr(name, ':')) != NULL) {
2478 *val++ = '\0';
2480 val = "";
2483 apr_table_set(ctx->r->subprocess_env, name, val);
2485 name, val));
2502 char *val;
2513 val = apr_strtok(NULL, ":", &tok_cntx);
2516 if (var && val && domain) {
2554 var, "=", val,
2793 a->server = s;
2812 a->server = overrides->server;
2937 sconf = ap_get_module_config(cmd->server->module_config, &rewrite_module);
2939 /* server command? set both global scope and base directory scope */
2982 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(00664)
3003 /* server command? set both global scope and base directory scope */
3004 if (cmd->path == NULL) { /* is server command */
3007 ap_get_module_config(cmd->server->module_config,
3034 sconf = ap_get_module_config(cmd->server->module_config, &rewrite_module);
3048 (void *)cmd->server, a1);
3060 (void *)cmd->server, a1);
3068 (void *)cmd->server, a1);
3116 (void *)cmd->server, a1);
3119 dbd_prepare(cmd->server, fname, newmap->dbdq);
3158 (void *)cmd->server, a1);
3205 char *val, *nextp, *endp;
3236 /* split key and val */
3237 val = ap_strchr(key, '=');
3238 if (val) {
3239 *val++ = '\0';
3242 val = endp;
3245 err = parse(p, cfg, key, val);
3257 char *key, char *val)
3292 sconf = ap_get_module_config(cmd->server->module_config, &rewrite_module);
3295 if (cmd->path == NULL) { /* is server command */
3423 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(00665)
3457 char *key, char *val)
3467 if (val && *val) {
3468 cfg->escapes = val;
3499 cp->data = val;
3528 cp->data = val;
3563 cfg->forced_handler = val;
3587 if (val && *val) {
3588 cfg->maxrounds = atoi(val);
3639 if (*val) {
3640 if (strcasecmp(val, "permanent") == 0) {
3643 else if (strcasecmp(val, "temp") == 0) {
3646 else if (strcasecmp(val, "seeother") == 0) {
3649 else if (apr_isdigit(*val)) {
3650 status = atoi(val);
3659 val);
3677 cfg->skip = atoi(val);
3687 cfg->forced_mimetype = val;
3718 sconf = ap_get_module_config(cmd->server->module_config, &rewrite_module);
3721 if (cmd->path == NULL) { /* is server command */
3777 /* now, if the server or per-dir config holds an
3781 if (cmd->path == NULL) { /* is server command */
4157 /* expand [E=var:val] and [CO=<cookie>] */
4204 /* For rules evaluated in server context, the mod_proxy fixup
4512 * [deals with RewriteRules in server context]
4530 conf = ap_get_module_config(r->server->module_config, &rewrite_module);
4546 * by the API to setup our default per-server config so we have to
4551 if (conf->server != r->server) {
4690 r->handler = "proxy-server";
4940 r->handler = "proxy-server";
5042 * in per-server context
5257 config_server_create, /* create per-server config structures */
5258 config_server_merge, /* merge per-server config structures */