标签归档:伪静态规则

ptcms nginx伪静态规则

  1.rewrite "^(.*)sort_([0-9]+)_([0-9]+).html$" $1sort.php?sortid=$2&page=$3 last;
  2.rewrite "^(.*)over_([0-9]+).html$" $1over.php?page=$2 last;
  3.rewrite "^(.*)top_(.*)_([0-9]+).html$" $1top.php?topid=$2&page=$3 last;
  4.rewrite "^(.*)topover_(.*)_([0-9]+).html$" $1topover.php?topid=$2&page=$3 last;
  5.rewrite "^(.*)book_([0-9]+).html$" $1book.php?bookid=$2 last;
  6.rewrite "^(.*)down_(.*)_([0-9]+).html$" $1down.php?bookid=$3&type=$2 last;
  7.rewrite "^(.*)readend_([0-9]+).html$" $1readend.php?bookid=$2 last;
  8.rewrite "^(.*)read_([0-9]+)_([0-9]+).html$" $1read.php?cutid=$2&bookid=$3 last;