用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2195|回复: 0
收起左侧

Nginx 如何隱藏index.php

[复制链接]
发表于 2012-7-29 15:41:51 | 显示全部楼层 |阅读模式
本帖最后由 AhMark 于 2012-7-29 16:51 编辑

已使用Nginx path_info已能使用
http://localhost/index.php/users
http://localhost/users

雖然知道rewrite時 是當有^/(.*)$ 時 轉去/index.php/$1
但我想
http://localhost/index.php/users

也自動轉去
http://localhost/users

作為隱瞞
不知道有哪位大大有這樣的解決分享?



感謝!!

本版积分规则