linux下nginx连接PHP5.5location /ICBBS {if (!-e $request_filename){rewrite (.*) /ICBBS/index.php/$1
linux下nginx连接PHP5.5
location /ICBBS { if (!-e $request_filename){ rewrite (.*) /ICBBS/index.php/$1; } }
?
?说明:ICBBS就是你的项目名称,这里将所有以ICBBS请求的不存在路径跳转到/ICBBS/index.php。
?
?
?
