今天刚发现PHPCMS也有伪静态了
22321
- admin2009-08-10管理员1
06-07年的时候玩这个为主,今天去看了下竟然有伪静态了,我落伍了。
此处发下其nginx下的伪静态规则:
PHPCMS:
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?catid=$2&page=$3;
rewrite ^(.*)show-([0-9]+)\.html$ $1/show.php?specialid=$2;
}