Files
yakpanel-core/rewrite/nginx/phpcms.conf

9 lines
454 B
Plaintext
Raw Normal View History

2026-04-07 02:04:22 +05:30
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;
}