PATH_INFO is a CGI 1.1 standard, and it is often used as a carrier for passing parameters.
In Apache, with no configuration at all, AcceptPathInfo is accepted by default for PHP scripts, which means:
if the server has a /laruence/info.php
then for the following requests, Apache accepts them all:
/laruence/info.php/dummy /laruence/info.php/pathinfo
Under Nginx, by default Nginx does not support PATH INFO, meaning those requests will 404 with a file-not-found error.
with 0 Comment