I am just curious, how is feature of apache is called that is directing requests like this
www.example.com/index.php/my/path/here
to a file index.php? At the first moment, you might think, that it would be correct if this request leads to 404 error page because there is no folder called index.php at the site root dir.
BTW, is there a possibility to turn off this Apache feature (if it is a feature) so that such requests really end up with 404?
This isn’t a URL rewrite feature. Or at least it doesn’t need to be. See AcceptPathInfo Directive:
It was originally a CGI environment variable.