https://bz.apache.org/bugzilla/show_bug.cgi?id=69243
Bug ID: 69243
Summary: URL Rewrite Not Running Handlers / PHP
Product: Apache httpd-2
Version: 2.4.62
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: mod_rewrite
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When upgrading from 2.4.48 to 2.4.62, I've found that some of my URL re-write
are acting different.
Although all of the existing rewrite rules are re-written, those that end in a
URL with a slash are sent WITHOUT using any handlers.
For example, if I have the following rewrite rule...
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ core.php?param=$1 "[QSA,L,B= ?,BNP]"
...and I visit /hello, my call is redirected to core.php and the PHP code
executed.
But if I visit /hello/ instead, I'm still redirected to core.php, but this time
the code is NOT executed and the response is simply the raw PHP code of the
file.
--
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]