Use the END mod_rewrite flag instead of L
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Passed 00:05:40
| Stage: build Stage: test |
Download artifacts
No artifacts found |
According to the docs in https://httpd.apache.org/docs/current/rewrite/flags.html#flag_l using [L] in an .htaccess context incurs the risk of infinite recursion, which is exactly what we were seeing in production for non-existing .php files. Use [END] instead.
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Passed 00:05:40
| Stage: build Stage: test |
Download artifacts
No artifacts found |