This is a known bug in Apache 2.4. I used the workaround provided here and it’s working now.
More Related Contents:
- Reference: mod_rewrite, URL rewriting and “pretty links” explained
- Remove .php extension with .htaccess
- Tips for debugging .htaccess rewrite rules
- htaccess redirect to https://www
- htaccess remove index.php from url
- Hidden features of mod_rewrite
- What does RewriteBase do and how to use it?
- How to debug .htaccess RewriteRule not working
- Forbidden You don’t have permission to access / on this server [closed]
- .htaccess rewrite query string as path
- How to redirect URLs based on query string?
- mod_rewrite: remove trailing slash (only one!)
- .htaccess rewrite “/book.php?id=1234” to “/book/1234”
- mod_rewrite with anchor link
- CSS, JS and images do not display with pretty url
- mod_rewrite: remove query string from URL?
- Redirect requests only if the file is not found?
- Multiple RewriteRules for single RewriteCond in .htaccess
- Rewrite Problem – L(ast) not being respected?
- Difference between $1 vs %1 in .htaccess
- How can I mod_rewrite and keep query strings?
- RewriteCond to match query string parameters in any order
- htaccess RewriteRule page with query string
- URL rewriting for different protocols in .htaccess
- The Redirection of Multiple Parked Domains doesn’t Work with Filename [closed]
- AH10411 error: Managing spaces and %20 in apache mod_rewrite
- How to enable mod_rewrite for Apache 2.2
- How to debug Apache mod_rewrite
- How to Set AllowOverride all
- Deny access to one specific folder in .htaccess