Summary: | RewriteRule returning 200 for ErrorDocument 503 | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Widger <cwidger> |
Component: | mod_rewrite | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | NEEDINFO --- | ||
Severity: | normal | CC: | szg0000 |
Priority: | P2 | ||
Version: | 2.4.18 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Widger
2017-01-19 01:24:43 UTC
Works for me. Maybe it's related to other config / whatever set all of those extra headers in the response (proxy or some application?) Some more information. Lower down in my configuration I have a RewriteRule that points to a "balancer://". I think this is where the 200 and cache headers are coming from. If I add: RewriteCond %{REQUEST_URI} !=/maintenance.trigger before: RewriteRule . - balancer://mybalancer I get a 503. I was thinking that hitting a 503 would stop all processing, but it might not work like that. |