18 lines
612 B
Diff
18 lines
612 B
Diff
Index: httpd-2.4.58/modules/mappers/mod_rewrite.c
|
|
===================================================================
|
|
--- httpd-2.4.58.orig/modules/mappers/mod_rewrite.c
|
|
+++ httpd-2.4.58/modules/mappers/mod_rewrite.c
|
|
@@ -4537,6 +4560,12 @@ static int apply_rewrite_list(request_re
|
|
return ACTION_STATUS_SET;
|
|
}
|
|
|
|
+
|
|
+ /* Error while evaluating rule, r->status set */
|
|
+ if (RULE_RC_STATUS_SET == rc) {
|
|
+ return ACTION_STATUS_SET;
|
|
+ }
|
|
+
|
|
/*
|
|
* The rule sets the response code (implies match-only)
|
|
*/
|