Lines Matching defs:rr
175 request_rec *rr;
193 rr = ap_sub_req_lookup_uri(name_ptr, r, r->output_filters);
194 if (rr->status == HTTP_OK
195 && ( (rr->handler && !strcmp(rr->handler, "proxy-server"))
196 || rr->finfo.filetype == APR_REG)) {
197 ap_internal_fast_redirect(rr, r);
200 else if (ap_is_HTTP_REDIRECT(rr->status)) {
202 apr_pool_join(r->pool, rr->pool);
203 r->notes = apr_table_overlay(r->pool, r->notes, rr->notes);
205 rr->headers_out);
207 rr->err_headers_out);
208 error_notfound = rr->status;
210 else if (rr->status && rr->status != HTTP_NOT_FOUND
211 && rr->status != HTTP_OK) {
212 error_notfound = rr->status;
215 ap_destroy_sub_req(rr);
303 request_rec *rr;
315 rr = ap_sub_req_lookup_uri(name_ptr, r, r->output_filters);
327 if (rr->status == HTTP_OK
328 && ( (rr->handler && !strcmp(rr->handler, "proxy-server"))
329 || rr->finfo.filetype == APR_REG)) {
332 apr_table_setn(r->headers_out, "Location", ap_construct_url(r->pool, rr->uri, r));
336 ap_internal_fast_redirect(rr, r);
342 if (ap_is_HTTP_REDIRECT(rr->status)
343 || (rr->status == HTTP_NOT_ACCEPTABLE && num_names == 1)
344 || (rr->status == HTTP_UNAUTHORIZED && num_names == 1)) {
346 apr_pool_join(r->pool, rr->pool);
347 error_notfound = rr->status;
348 r->notes = apr_table_overlay(r->pool, r->notes, rr->notes);
350 rr->headers_out);
352 rr->err_headers_out);
365 if (rr->status && rr->status != HTTP_NOT_FOUND
366 && rr->status != HTTP_OK) {
367 error_notfound = rr->status;
370 ap_destroy_sub_req(rr);