Lines Matching defs:input
298 char *input; /* Input string of RewriteCond */
939 * substitute the prefix path 'match' in 'input' with 'subst' (RewriteBase)
941 static char *subst_prefix_path(request_rec *r, char *input, const char *match,
950 if (!strncmp(input, match, len) && input[len++] == '/') {
954 rewritelog((r, 5, NULL, "strip matching prefix: %s -> %s", input,
955 input+len));
962 outlen = strlen(input) + slen - len;
969 memcpy(output+slen, input+len, outlen - slen);
972 rewritelog((r, 4, NULL, "add subst prefix: %s -> %s", input+len,
979 return input;
2248 /* perform all the expansions on the input string
2257 static char *do_expand(char *input, rewrite_ctx *ctx, rewriterule_entry *entry)
2266 span = strcspn(input, "\\$%");
2267 inputlen = strlen(input);
2271 return apr_pstrmemdup(pool, input, inputlen);
2277 p = input + span;
2279 current->string = input;
2441 } while (p < input+inputlen);
3313 /* arg1: the input string */
3314 newcond->input = a1;
3830 char *input = NULL;
3838 input = do_expand(p->input, ctx, NULL);
3842 if ( apr_stat(&sb, input, APR_FINFO_MIN, r->pool) == APR_SUCCESS
3849 if ( apr_stat(&sb, input, APR_FINFO_MIN, r->pool) == APR_SUCCESS
3857 if ( apr_stat(&sb, input, APR_FINFO_MIN | APR_FINFO_LINK,
3866 if ( apr_stat(&sb, input, APR_FINFO_MIN, r->pool) == APR_SUCCESS
3873 if ( apr_stat(&sb, input, APR_FINFO_PROT, r->pool) == APR_SUCCESS
3880 if (*input && subreq_ok(r)) {
3881 rsub = ap_sub_req_lookup_uri(input, r, NULL);
3886 "path=%s -> status=%d", input, rsub->status));
3892 if (*input && subreq_ok(r)) {
3893 rsub = ap_sub_req_lookup_file(input, r, NULL);
3901 "-> file=%s status=%d", input, rsub->filename,
3914 rc = (strcasecmp(input, p->pattern) >= basis) ? 1 : 0;
3917 rc = (compare_lexicography(input, p->pattern) >= basis) ? 1 : 0;
3928 rc = (strcasecmp(input, p->pattern) <= basis) ? 1 : 0;
3931 rc = (compare_lexicography(input, p->pattern) <= basis) ? 1 : 0;
3938 rc = !strcasecmp(input, p->pattern);
3941 rc = !strcmp(input, p->pattern);
3945 case CONDPAT_INT_GE: rc = (atoi(input) >= atoi(p->pattern)); break;
3946 case CONDPAT_INT_GT: rc = (atoi(input) > atoi(p->pattern)); break;
3948 case CONDPAT_INT_LE: rc = (atoi(input) <= atoi(p->pattern)); break;
3949 case CONDPAT_INT_LT: rc = (atoi(input) < atoi(p->pattern)); break;
3951 case CONDPAT_INT_EQ: rc = (atoi(input) == atoi(p->pattern)); break;
3973 rc = !ap_regexec(p->regexp, input, AP_MAX_REG_MATCH, regmatch, 0);
3977 ctx->briRC.source = input;
3987 rewritelog((r, 4, ctx->perdir, "RewriteCond: input='%s' pattern='%s'%s "
3988 "=> %s", input, p->pattern - p->pskip,
4562 /* Unless the anyuri option is set, ensure that the input to the
5216 "an input string and a to be applied regexp-pattern"),