摘要: 例如你的原路径是 http://localhost/test/index.php/index/add 那么现在的地址是 http://localhost/test/index/add如何去掉index.php呢?一.apache 设置1.httpd.conf配置文件中加载了mod_rewrite.so模块#LoadModule rewrite_module modules/mod_rewrite.so2.AllowOverride None 讲None改为 All<Directory /> Options FollowSymLinks AllowOverride All Order 阅读全文
posted @ 2012-03-02 10:05 前望 阅读(423) 评论(0) 推荐(0) 编辑