╃巡洋艦㊣
- ╃巡洋艦㊣ 2015-05-19 已签到连续签到66天,获得了20个金钱
- ╃巡洋艦㊣ 回答了问题 yii2 新手,求助 url 优化 问题
如果使用的是apache,需要修改.htaccess为如下内容:
IndexIgnore */* RewriteEngine on # If a directory or a file exists, use the request directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Otherwise forward the request to index.php RewriteRule . index.php
- ╃巡洋艦㊣ 回答了问题 yii2 新手,求助 url 优化 问题
请楼主使用markdown格式发帖,已经帮你改过了,以后再不按规定发帖,可能会被删帖。
- ╃巡洋艦㊣ 2015-05-18 已签到连续签到65天,获得了20个金钱
帮老同事的朋友顶帖,希望各位大牛能积极加入!
urlManager
中设置$suffix
为'/'
即可。- ╃巡洋艦㊣ 2015-05-17 已签到连续签到64天,获得了20个金钱