FastAdmin 永远滴神,真不愧是快速的后台。
1.项目安装好了之后,打开apache的伪静态

2.讲规矩添加进去

3.代码段
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>

4.如果不设置伪静态的话,就需要在路由里面添加 index.php
http://test.fastadmin.com/index.php/index/user/login.html
添加伪静态之后,路由重写,就会隐藏 index.php
http://test.fastadmin.com/index/user/login.html
本文介绍了如何在安装FastAdmin项目后配置Apache伪静态,通过mod_rewrite模块实现URL路径的美化,以及在不启用伪静态时如何在路由中处理index.php。
2003

被折叠的 条评论
为什么被折叠?



