[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-bugs
Subject: [Bug 59815] different behaviour between 2.4.20 and 2.4.23 using php as cgi with mod_rewrite and para
From: bugzilla () apache ! org
Date: 2016-07-22 16:23:03
Message-ID: bug-59815-7868-lCU0lrU9UC () https ! bz ! apache ! org/bugzilla/
[Download RAW message or body]
https://bz.apache.org/bugzilla/show_bug.cgi?id=59815
--- Comment #14 from nathanjosiah@gmail.com ---
I can confirm this error as well after upgrading from apache 2.4.20. I am
running Apache 2.4.23 and php-fpm 5.6.23
----------------------
This is my fpm config:
<FilesMatch "\.php$">
SetHandler "proxy:unix:/tmp/fpm.sock|fcgi://"
</FilesMatch>
---------------------
And my .htaccess:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*) index.php/$1 [L]
---------------------
When requesting /foobar I get a "Primary script unknown" error from fpm but
when I request /index.php/foobar I get the correct behavior. So this does seem
to be related to mod_rewrite's interaction with fgci.
Is there a workaround for this?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic