Rewrite BUG

浏览:386 发布日期:2014/09/17 分类:求助交流 关键字: Rewrite BUG
确认在httpd.conf配置文件中加载了mod_rewrite.so 模块
确认在httpd.conf中的Allowoverride None 将None改为All
确认吧URL_MODEL’=>2
确认在项目的根目录下面建立一个.htaccess文件
里面写入下面的内容:
<IfModule rewrite_module>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>

问题是 页面只有一片空白
最佳答案
评论( 相关
后面还有条评论,点击查看>>