Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using PHP-FPM + Apache with mod_rewrite on a fresh Drupal 8, the default .htaccess causes infinite internal redirects. This happens due to not account for internal cgi calls to the script made by FPM. Here's a temporary solution I did for my setup but I'm not sure if it's ideal.
.htaccess Find:
RewriteRule ^ index.php [L]
Add before:
RewriteCond %{REQUEST_URI} !^.*/cgi-bin/.*$
Comments
Comment #1
HazaPHP-FPM + Apache with mod_rewrite, I'm not able to reproduce that.
Are you still facing the issue ?
I'm closing (postponning) right now, but feel free to re-open the issue if you can still reproduce it with the current D8 HEAD.
Comment #9
pameeela CreditAttribution: pameeela commentedThanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.
As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)". This issue was marked "Postponed (maintainer needs more info)" in September 2015.
Since the original contributor was unable to reproduce, and there weren't other steps to reproduce the issue provided since the issue was postponed in [month and year], I'm marking the issue "Closed (cannot reproduce)". If anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active" [or NW if it has a patch, etc.].
Thanks!