NGINX(Linux)服务器伪静态设置
NGINX(Linux)服务器伪静态设置 rewrite ^([^\.]*)/page-show-([0-9]+)\.html$ $1/index.php?m=Page&a=index&id=$2 last;rewrite ^([^\.]*)/new-list-([0-9]+)-([0-9]+)\.html$ $1/index.php?m=Article&a
·
NGINX(Linux)服务器伪静态设置
rewrite ^([^\.]*)/page-show-([0-9]+)\.html$ $1/index.php?m=Page&a=index&id=$2 last;
rewrite ^([^\.]*)/new-list-([0-9]+)-([0-9]+)\.html$ $1/index.php?m=Article&a=index&id=$2&p=$3 last;
rewrite ^([^\.]*)/new-show-([0-9]+)\.html$ $1/index.php?m=Article&a=show&id=$2 last;
更多推荐
已为社区贡献2条内容
所有评论(0)