Skip to content
Snippets Groups Projects

Use the END mod_rewrite flag instead of L

Merged ale requested to merge htaccess into master

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading