会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
果冻界老王
兴趣+勤奋=1.01
博客园
首页
新随笔
联系
订阅
管理
2018年11月4日
nginx重写(隐藏)index.php目录
摘要: 访问某域名时,去掉index.php目录时达到效果一样 如: www.test1/index.php/test2跟www.test1/test2效果一致 nginx配置中加入如下内容: location / { if (!-e $request_filename) { rewrite ^(.*)$
阅读全文
posted @ 2018-11-04 20:11 果冻界老王
阅读(2131)
评论(0)
推荐(0)
编辑
公告