怎么样弄nginx的静态规则
要把destoon系统安装在nginx服务器上面,静态不会搞啊,之前抄袭网上的那些静态规则都不行,大家有这方面经验不?我的就是nginx的伪静态
rewrite ^/(.*)-htm-(.*)$ /$1.php?$2;
rewrite ^/(.*)/show-(+)([\-])?(+)?\.html$ /$1/show.php?itemid=$2&page=$4;
rewrite ^/(.*)/list-(+)([\-])?(+)?\.html$ /$1/list.php?catid=$2&page=$4;
rewrite ^/(.*)/show/(+)/(+)?([/])?$ /$1/show.php?itemid=$2&page=$3;
rewrite ^/(.*)/list/(+)/(+)?([/])?$ /$1/list.php?catid=$2&page=$3;
rewrite ^/(+)\.co/(.*)$ /company/index.php?homepage=$1&rewrite=$2;
rewrite ^/(htm)/(.*)$ /index.php?&rewrite=$2;
页:
[1]