9 lines
454 B
Plaintext
9 lines
454 B
Plaintext
|
|
location / {
|
||
|
|
###The following is the pseudo-static rewrite rule for PHPCMS
|
||
|
|
rewrite ^(.*)show-([0-9]+)-([0-9]+)\.html$ $1/show.php?itemid=$2&page=$3;
|
||
|
|
rewrite ^(.*)list-([0-9]+)-([0-9]+)\.html$ $1/list.php?catid=$2&page=$3;
|
||
|
|
rewrite ^(.*)show-([0-9]+)\.html$ $1/show.php?specialid=$2;
|
||
|
|
####Here are the PHPWind pseudo-static rewrite rules
|
||
|
|
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
|
||
|
|
rewrite ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2 last;
|
||
|
|
}
|