新安装的结构是这样的
www.dalao.net/?thread-35474.htm
改结构是这样的
www.dalao.net/thread-35474.htm
location ~* \.(htm)$ { rewrite "^(.*)/(.+?).htm(.*?)$" $1/index.php?$2.htm$3 last; }
添加伪静态
王富贵 location ~* \.(htm)$ { rewrite "^(.*)/(.+?).htm(.*?)$" $1/index.php?$2.htm$3 last; ...
添加了也是这样
我今天试了下ai,写代码,还真行。哈哈
conf文件 rewrite看打开没有
添加伪静态后,到 conf/conf.php 第104行,'url_rewrite_on' => 0, 改成1,再到tmp 清空里面的文件即可