Package: nginx-common
Version: 1.10.1-3
Severity: wishlist
Tags: patch
Hello,
In snippets/fastcgi-php.conf, url:s like /index.php/some/path are
correctly split into /index.php and /some/path. But the suggested php
config in sites-available/default has the following line that can't
match /index.php/some/path:
location ~ \.php$ {
Please change that line to:
location ~ \.php($|/) {
It would also be nice to mention adding index.php to index directive in
the FastCGI section. There is comment above the index directive but I
didn't see it at first and probably many others are also too focused on
the fastcgi section and expect their php application to just work after
commenting out the fastcgi directives.
Best regards,
Ognyan