隐藏index.php Nginx配置
if (!-e $request_filename)
{
#地址作为将参数rewrite到index.php上
rewrite ^/(.) /index.php/$1;
#若是在子目录则使用下面这句,将subdir改成目录名称即可
#rewrite ^/subdir/(.
)/subdir/index.php/$1;
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案