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]