php $_SERVER['PHP_SELF'] $_SERVER['SCRIPT_NAME'] $_SERVER['REQUEST_URI']区别
$_SERVER['PHP_SELF']和$_SERVER['SCRIPT_NAME'] location匹配重写后会变成重写后的文件名称例如http://www.baidu.com/a/b/c?a=1 rewrite^(.*)$/public/index.php?_url=$1 则PHP_SELF和SCRIPT_NAME都是public/index.phpREQUEST_URL=a/b/c?