Lines Matching refs:value
28 * Header action header value
29 * RequestHeader action header value
32 * set - set this header, replacing any old value
39 * edit - transform the header value according to a regexp
41 * Where action is unset, the third argument (value) should not be given.
93 hdr_set = 's', /* set (replace old value) */
94 hdr_append = 'm', /* append (merge into any old value) */
98 hdr_edit = 'r', /* change value by regexp, match once */
99 hdr_edit_r = 'R', /* change value by regexp, everymatch */
100 hdr_setifempty = 'i', /* set value if header not already present*/
101 hdr_note = 'n' /* set value of header in a note */
123 /* 'Magic' condition_var value to run action in post_read_request */
400 /* Tags are in the replacement value for edit */
412 "Can't parse value expression : ", err, NULL);
432 const char *value,
477 new->regex = ap_pregcomp(cmd->pool, value, AP_REG_EXTENDED);
491 if (value) {
495 envclause = value;
496 value = NULL;
502 if (value) {
506 envclause = value;
507 value = NULL;
520 else if (!value)
559 return parse_format_string(cmd, new, value);
601 * If the original value was prefixed with "expr=", processing is
617 "Can't evaluate value expression: %s", err);
634 static const char *process_regexp(header_entry *hdr, const char *value,
642 if (ap_regexec(hdr->regex, value, AP_MAX_REG_MATCH, pmatch, 0)) {
644 return value;
649 subs = ap_pregsub(r->pool, process_tags(hdr, r), value, AP_MAX_REG_MATCH, pmatch);
654 remainder = value + pmatch[0].rm_eo;
657 remainder = process_regexp(hdr, value + pmatch[0].rm_eo, r);
660 diffsz += strlen(remainder) - strlen(value + pmatch[0].rm_eo);
662 ret = apr_palloc(r->pool, strlen(value) + 1 + diffsz);
663 memcpy(ret, value, pmatch[0].rm_so);
960 "an optional condition, an action, header and value "
963 "an action, header and value followed by optional env "