AhMark 发表于 2012-7-29 15:41:51

Nginx 如何隱藏index.php

本帖最后由 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

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



感謝!!

页: [1]
查看完整版本: Nginx 如何隱藏index.php