https://bz.apache.org/bugzilla/show_bug.cgi?id=59815

--- Comment #11 from Trent Lloyd <[email protected]> ---
Some extra info for those finding this bug and wanting to work around the issue


Was having this same issue, working on 2.4.20 but broken on 2.4.23.

Same setup, php-fpm using mod_proxy_fcgi.  In my specific case, the problem was
two sets of htaccess rules one in the DOCUMENT_ROOT and one in
DOCUMENT_ROOT/subdir.  The DOCUMENT_ROOT worked fine but the subdir was broken.

Rule in both directories was more or less as follows and is a fairly standard
set used by most applications, including Joomla (parent was joomla, subdir was
not)

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt|Sitemap\.xml)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]


Since my use case has no control over the applications, I opted to downgrade
now but found that using FallbackResource instead worked the same but avoided
the bug.

Seems this is the more modern preferred option but most people aren't using it
for compatibility I assume
(https://httpd.apache.org/docs/2.4/mod/mod_dir.html#fallbackresource)

FallBackResource index.php

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to