File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ static int redirectionio_redirect_handler_for_status_code(request_rec *r) {
200200
201201 r -> status = new_status_code ;
202202
203- if (status_code == 0 ) {
203+ if (ctx -> backend_response_status_code == 0 ) {
204204 r -> handler = "redirectionio" ;
205205 r -> filename = "redirectionio" ;
206206 }
@@ -221,7 +221,7 @@ static int redirectionio_redirect_handler(request_rec *r) {
221221}
222222
223223static apr_status_t redirectionio_filter_match_on_response (ap_filter_t * f , apr_bucket_brigade * bb ) {
224- redirectionio_context * ctx = ap_get_module_config (r -> request_config , & redirectionio_module );
224+ redirectionio_context * ctx = ap_get_module_config (f -> r -> request_config , & redirectionio_module );
225225
226226 if (ctx == NULL ) {
227227 return DECLINED ;
You can’t perform that action at this time.
0 commit comments