This location matches a url that ends in the four characters “.php”.
[/code]
With ‘rewrite_log on’, the url’s appear to be routing properly:
[code]
[error]: *2 open() “/var/www/public/index.php/test” failed (20: Not
This url is “/index.php/test”. Note that is does not end in the four
characters “.php”, and so will not be handled by the previous location
block.
However, it appears to be looking for the directory “test”. How can I
force it to request index.php, passing ‘/test’ to the script?
Change the “location” to match what you want it to match.
As a quick test, make it just match “php” to confirm that that works as
you want. And then tighten the config so that it won’t match things you
don’t want it to – perhaps “starts with /index.php/” is appropriate?