Lines Matching refs: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);
299 request_rec *rr;
311 rr = ap_sub_req_lookup_uri(name_ptr, r, r->output_filters);
323 if (rr->status == HTTP_OK
324 && ( (rr->handler && !strcmp(rr->handler, "proxy-server"))
325 || rr->finfo.filetype == APR_REG)) {
328 apr_table_setn(r->headers_out, "Location", ap_construct_url(r->pool, rr->uri, r));
332 ap_internal_fast_redirect(rr, r);
338 if (ap_is_HTTP_REDIRECT(rr->status)
339 || (rr->status == HTTP_NOT_ACCEPTABLE && num_names == 1)
340 || (rr->status == HTTP_UNAUTHORIZED && num_names == 1)) {
342 apr_pool_join(r->pool, rr->pool);
343 error_notfound = rr->status;
344 r->notes = apr_table_overlay(r->pool, r->notes, rr->notes);
346 rr->headers_out);
348 rr->err_headers_out);
361 if (rr->status && rr->status != HTTP_NOT_FOUND
362 && rr->status != HTTP_OK) {
363 error_notfound = rr->status;
366 ap_destroy_sub_req(rr);