If don't set SCRIPT_NAME, urls like `/build/meta/6?num_builds=10&key=phpcs-warnings` will be routed to wrong controller & action, and return a html page but not json. It happened in my CentOS 6 server and I found without `SCRIPT_NAME index.php` \b8\Http\Request::getRequestPath will return wrong path.