With Nginx, I want to add .php files at will to my document root and have them just work without the extension. Not only that, but I want these random .php files to also take a path_info after them.
So, if I add a file /path/to/root/apple.php
I want www.example.com/apple
to work, as well as www.example.com/apple/123
or www.example.com/apple/123/something
or www.example.com/apple/123/something/something
.
I want to be able to add files like this all of the time, all over the place, without having to add explicit Location blocks for each of them in the Nginx configuration. I want to go on to add /path/to/root/orange.php
and /path/to/root/quince.php
and anything else, and I want those paths to immediately work, without their .php extension, and with any arbitrary path_info.
In Apache, I can just do Options MultiViews
. In Nginx, maybe this is not yet possible, but if so, I would just want to know that, so I can just stop trying to figure it out.