mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 03:48:24 +00:00
1254a1068f
Because the request url was being appended as ?/$1 any nested named parameters would be added as additional GET params. This is yet another case where named parameters are fail. Modify the built-in htaccess rules to not use a GET parameter at all, and just read from REQUEST_URI. Fixes #2678
6 lines
179 B
ApacheConf
6 lines
179 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^(.*)$ index.php [QSA,L]
|
|
</IfModule>
|