是这样

^page/([0-9]+)$ indexpage.php?page=$1

youbbs at 2015-01-14 12:42:24
1

是这样

^page/([0-9]+)$ indexpage.php?page=$1

youbbs at 2015-01-14 12:42:24
2

@youbbs 还是出现404错误噢;
是这样?

rewrite ^page/([0-9]+)$ indexpage.php?page=$1 last;

杨震南 at 2015-01-14 13:18:50
3

我修改了后还是出现404噢;
是这样吗?
rewrite ^page/([0-9]+)$ indexpage.php?page=$1 last;

杨震南 at 2015-01-14 13:19:41
4

刚刚发现写错了;其实应该这样的:

rewrite ^/page/([0-9]+)$ /indexpage.php?page=$1 last;

杨震南 at 2015-01-14 13:24:06
5
登录 后发表评论