Lines Matching refs:result
37 * can generate QUERY_STRING parts on result. The rewriting result finally
176 * the result may be escaped - or not
228 * expansion result items on the stack to save some cycles
1810 const char *result;
1819 result = NULL;
1825 result = apr_table_get(r->notes, var);
1827 if (!result) {
1828 result = apr_table_get(r->subprocess_env, var);
1830 if (!result) {
1831 result = getenv(var);
1835 result = rewrite_ssl_lookup(r->pool, r->server, r->connection, r,
1845 result = lookup_header(var+5, ctx);
1852 result = apr_pstrdup(r->pool, lookup_variable(var+5, ctx));
1857 "-> val=%s", path, var+5, result));
1859 return (char *)result;
1887 result = apr_pstrdup(r->pool, lookup_variable(var+5, ctx));
1892 "-> val=%s", path, var+5, result));
1894 return (char *)result;
1911 result = apr_psprintf(r->pool, "%04d%02d%02d%02d%02d%02d",
1914 rewritelog((r, 1, ctx->perdir, "RESULT='%s'", result));
1915 return (char *)result;
1927 result = (flag ? "on" : "off");
1985 result = (r->main ? "true" : "false");
1991 result = r->path_info;
1997 result = r->ap_auth_type;
2003 result = lookup_header("Host", ctx);
2020 result = ap_get_server_name_for_url(r);
2026 result = r->useragent_ip;
2029 result = r->connection->local_ip;
2035 result = lookup_header("Accept", ctx);
2038 result = r->the_request;
2052 result = lookup_header("Cookie", ctx);
2061 result = ap_get_remote_host(r->connection,r->per_dir_config,
2071 result = r->user;
2074 result = "<unknown>";
2076 apr_uid_name_get((char **)&result, r->finfo.user,
2084 result = r->uri;
2094 result = "<unknown>";
2096 apr_gid_name_get((char **)&result, r->finfo.group,
2104 result = ap_get_remote_logname(r);
2110 result = lookup_header("Referer", ctx);
2116 result = r->args;
2122 result = r->server->server_admin;
2130 result = ap_document_root(r);
2136 result = lookup_header("Forwarded", ctx);
2139 result = ap_context_prefix(r);
2142 result = r->method;
2145 result = ap_http_scheme(r);
2153 result = lookup_header("User-Agent", ctx);
2159 result = r->filename; /* same as request_filename (16) */
2165 result = r->protocol;
2171 result = ap_get_server_banner();
2179 result = r->connection->client_ip;
2182 result = r->filename; /* same as script_filename (15) */
2188 result = lookup_header("Proxy-Connection", ctx);
2191 result = ap_context_document_root(r);
2197 return apr_pstrdup(r->pool, result ? result : "");
2249 * putting the result into a new string
2252 * single pass, otherwise an attacker can arrange for the result
2259 result_list *result, *current;
2275 result = current = &(sresult[spc++]);
2343 * isn't a problem because the result of expansion is
2368 /* reuse of key variable as result */
2443 /* assemble result */
2446 if (result->len) {
2447 ap_assert(c+result->len <= p+outlen); /* XXX: can be removed after
2451 memcpy(c, result->string, result->len);
2452 c += result->len;
2454 result = result->next;
2455 } while (result);
3895 /* double-check that file exists since default result is 200 */
4150 /* expand the result */
4751 rewritelog((r, 2, NULL, "local path result: %s", r->filename));
5048 rewritelog((r, 2, NULL, "local path result: %s", r->filename));
5076 * context. If not then treat the result as a