修改apache配置文件去除thinkphp url中的index.php
例如你的原路径是 http://localhost/test/index.php/index/add
那么现在的地址是 http://localhost/test/index/add
如何去掉index.php呢?
1、httpd.conf配置文件中加载了mod_rewrite.so模块 //在APACHE里面去配置
复制代码代码如下:
#LoadModule re
转载
2018-01-12 09:30:28 ·
545 阅读 ·
0 评论