XP面板去掉thinkPHP项目index.php前缀
运行nginx后创建网站,修改伪静态配置:
输入配置(nginx)
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}