排序
nginx rewrite 伪静态配置参数详细说明
nginx的rewrite模块可以实现URL的重写,从而实现伪静态。Rewrite规则的语法为: rewrite regex replacement [flag]; 其中:- regex:匹配的正则表达式,如果输入的地址与该正则表达式匹配,则进行重定...
nginx 伪静态化rewrite规则
location / { ###以下为PHPCMS 伪静态化rewrite规则 rewrite ^(.*)show-([0-9]+)-([0-9]+).html$ $1/show.php?itemid=$2&page=$3; rewrite ^(.*)list-([0-9]+)-([0-9]+).html$ $1/list.php?...







