电话
13363039260
浮屠后台对WeCenter伪信息设置规则代码,Nginx环境的WeCenter问答体系伪静态代码。
以上我们将WeCenter问答琐屑放入web根目录下aks目录下,设置装备摆设伪消息规则代码如下:
rewrite ^([^\.]*)/ask/static/(.*)$ $1/ask/static/$2 last; rewrite ^([^\.]*)/ask/uploads/(.*)$ $1/ask/uploads/$2 last; rewrite ^([^\.]*)/ask/(.*)$ $1/ask/index.php?/$2 last; rewrite ^([^\.]*)/ask/topic/(.*)$ $1/ask/cnurl.php last;
假如问答零碎WeCenter放在网站根目录下伪新闻代码:
rewrite ^([^\.]*)/static/(.*)$ $1/static/$2 last; rewrite ^([^\.]*)/uploads/(.*)$ $1/uploads/$2 last; rewrite ^([^\.]*)/(.*)$ $1/index.php?/$2 last; rewrite ^([^\.]*)/topic/(.*)$ $1/cnurl.php last;