emlog nginx下的伪静态规则 占个座位先
11 6月 2010
见识了emlog的奇遇各种迷惑行为, 以及程序整体确不怎么样, 不推荐这玩意.
修改nginx配置nginx.conf的 server配置内容 添加 emlog 伪静态 规则
rewrite “^/(post|record|sort|author|page)-([0-9]+)\.html$” /index.php?$1=$2;
rewrite “^/tag-(.+)\.html$” /index.php?tag=$1;
然后重新启动nginx后就支持伪静态了。
More from my site
- 3 Comments , 9,430 views Hits
linux下怎么弄
修改nginx的配置文件 把代码放入server字段下面就可以了
呵呵,emlog蛮好用的。。