index.php-木庄网络博客 nginx隐藏index.php的方法:直接在vhosts.conf配置文件中添加代码 if ( !-e $request_filename) {rewrite ^/(.*)$ /index.php/$1 last;break;} 即可。首先打开项目配置文件v...