Lines Matching defs:uri
119 static int alias_matches(const char *uri, const char *alias_fakename);
408 static int alias_matches(const char *uri, const char *alias_fakename)
410 const char *aliasp = alias_fakename, *urip = uri;
444 return urip - uri;
486 apr_uri_t uri;
500 apr_uri_parse(r->pool, found, &uri);
502 found = apr_uri_unparse(r->pool, &uri, APR_URI_UNP_OMITQUERY);
504 if (uri.query) {
505 found = apr_pstrcat(r->pool, found, "?", uri.query, NULL);
507 if (uri.fragment) {
508 found = apr_pstrcat(r->pool, found, "#", uri.fragment, NULL);
534 if (!ap_regexec(alias->regexp, r->uri, AP_MAX_REG_MATCH, regm, 0)) {
536 found = ap_pregsub(r->pool, alias->real, r->uri,
540 apr_uri_t uri;
541 apr_uri_parse(r->pool, found, &uri);
543 found = apr_uri_unparse(r->pool, &uri,
546 if (uri.query) {
548 uri.query, NULL);
550 if (uri.fragment) {
552 uri.fragment, NULL);
570 l = alias_matches(r->uri, alias->fake);
576 escurl = ap_os_escape_path(r->pool, r->uri + l, 1);
581 found = apr_pstrcat(r->pool, alias->real, r->uri + l, NULL);
616 if (r->uri[0] != '/' && r->uri[0] != '\0') {
633 orig_target, r->uri, ret);
640 r->uri, ret);
688 orig_target, r->uri, ret);
695 r->uri, ret);