为啥不能让URL_REWRITE 简单点?

浏览:859 发布日期:2015/01/14 分类:站务建议 关键字: The requested URL was not found on this server


已做检查:
1. 确认httpd.conf配置文件中加载了mod_rewrite.so 模块,加载的方法是去掉mod_rewrite.so前面的注释#号
2. 确认httpd.conf配置文件中Virtual Host节点的<Directory 子节点里的配置:
AllowOverride All
3. 确认Application/Common/Conf/config.php里面:<?php
return array(
    //'配置项'=>'配置值'
    'URL_MODEL'      => 2,
);
4. 最后,还是报错:
The requested URL /CNAdmin was not found on this server.

备注:
1. service httpd restart
2. apachectl -k restart
3. reboot
重启apache, 重启服务器,都做了,无效。
最佳答案
评论( 相关
后面还有条评论,点击查看>>