Lines Matching defs:envclause
434 const char *envclause)
484 /* there's no subs, so envclause is really that argument */
485 if (envclause != NULL) {
488 envclause = subs;
492 if (envclause) {
495 envclause = value;
503 if (envclause) {
506 envclause = value;
523 /* Handle the envclause on Header */
524 if (envclause != NULL) {
525 if (strcasecmp(envclause, "early") == 0) {
528 else if (strncasecmp(envclause, "env=", 4) == 0) {
529 if ((envclause[4] == '\0')
530 || ((envclause[4] == '!') && (envclause[5] == '\0'))) {
532 "envclause should be in the form env=envar ";
534 condition_var = envclause + 4;
536 else if (strncasecmp(envclause, "expr=", 5) == 0) {
538 expr = ap_expr_parse_cmd(cmd, envclause + 5, 0, &err, NULL);
541 "Can't parse envclause/expression: ", err,
546 return apr_pstrcat(cmd->pool, "Unknown parameter: ", envclause,
569 const char *envclause;
585 envclause = *args ? ap_getword_conf(cmd->pool, &args) : NULL;
592 return header_inout_cmd(cmd, indirconf, action, hdr, val, subs, envclause);