Lines Matching refs:newcond

3285     rewritecond_entry *newcond;
3296 newcond = apr_array_push(sconf->rewriteconds);
3299 newcond = apr_array_push(dconf->rewriteconds);
3314 newcond->input = a1;
3320 newcond->flags = CONDFLAG_NONE;
3322 if ((err = cmd_parseflagfield(cmd->pool, newcond, a3,
3329 newcond->pattern = a2;
3331 newcond->flags |= CONDFLAG_NOTMATCH;
3336 newcond->ptype = CONDPAT_REGEX;
3338 newcond->ptype = CONDPAT_AP_EXPR;
3344 case 'f': newcond->ptype = CONDPAT_FILE_EXISTS; break;
3345 case 's': newcond->ptype = CONDPAT_FILE_SIZE; break;
3346 case 'd': newcond->ptype = CONDPAT_FILE_DIR; break;
3347 case 'x': newcond->ptype = CONDPAT_FILE_XBIT; break;
3348 case 'h': newcond->ptype = CONDPAT_FILE_LINK; break;
3349 case 'L': newcond->ptype = CONDPAT_FILE_LINK; break;
3350 case 'l': newcond->ptype = CONDPAT_FILE_LINK; break;
3351 case 'U': newcond->ptype = CONDPAT_LU_URL; break;
3352 case 'F': newcond->ptype = CONDPAT_LU_FILE; break;
3360 newcond->ptype = CONDPAT_INT_LT;
3364 newcond->ptype = CONDPAT_INT_LE;
3371 newcond->ptype = CONDPAT_INT_GT;
3375 newcond->ptype = CONDPAT_INT_GE;
3382 newcond->ptype = CONDPAT_INT_EQ;
3390 newcond->ptype = CONDPAT_INT_EQ;
3391 newcond->flags ^= CONDFLAG_NOTMATCH;
3400 ++a2, newcond->ptype = CONDPAT_STR_GE;
3402 newcond->ptype = CONDPAT_STR_GT;
3406 ++a2, newcond->ptype = CONDPAT_STR_LE;
3408 newcond->ptype = CONDPAT_STR_LT;
3411 case '=': newcond->ptype = CONDPAT_STR_EQ;
3420 if ((newcond->ptype != CONDPAT_REGEX) &&
3421 (newcond->ptype < CONDPAT_STR_LT || newcond->ptype > CONDPAT_STR_GE) &&
3422 (newcond->flags & CONDFLAG_NOCASE)) {
3427 newcond->flags &= ~CONDFLAG_NOCASE;
3430 newcond->pskip = a2 - newcond->pattern;
3431 newcond->pattern += newcond->pskip;
3433 if (newcond->ptype == CONDPAT_REGEX) {
3435 AP_REG_EXTENDED | ((newcond->flags & CONDFLAG_NOCASE)
3442 newcond->regexp = regexp;
3444 else if (newcond->ptype == CONDPAT_AP_EXPR) {
3445 unsigned int flags = newcond->flags & CONDFLAG_NOVARY ?
3447 newcond->expr = ap_expr_parse_cmd(cmd, a2, flags, &err, NULL);