产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] 亲们,帮我看看一个帝国伪静态的问题啊....

兰博
铁牌会员
10.00 价值分

兰博 发表于 2014-10-26 11:02:18
我用的是AMH4面板,用了如下的伪静态规则:

location / {

rewrite ^(.*)xinwen.html$ $1/e/zxfcode/zxf_newslist.php?classid=8 last;
rewrite ^(.*)huodong.html$ $1/e/zxfcode/zxf_newslist.php?classid=9 last;
rewrite ^(.*)gonglue.html$ $1/e/zxfcode/zxf_newslist.php?classid=10 last;
rewrite ^(.*)pingce.html$ $1/e/zxfcode/zxf_newslist.php?classid=11 last;
rewrite ^(.*)biz.html$ $1/e/zxfcode/zxf_newslist.php?classid=59 last;
rewrite ^(.*)xinwen_([0-9]+).html$ $1/e/zxfcode/zxf_newslist.php?classid=8&page=$2 last;
rewrite ^(.*)huodong_([0-9]+).html$ $1/e/zxfcode/zxf_newslist.php?classid=9&page=$2 last;
rewrite ^(.*)gonglue_([0-9]+).html$ $1/e/zxfcode/zxf_newslist.php?classid=10&page=$2 last;
rewrite ^(.*)pingce_([0-9]+).html$ $1/e/zxfcode/zxf_newslist.php?classid=11&page=$2 last;
rewrite ^(.*)biz_([0-9]+).html$ $1/e/zxfcode/zxf_newslist.php?classid=59&page=$2 last;

rewrite ^(.*)tu/([0-9]+)_([0-9]+).html$ $1/e/zxfcode/92game_pics.php?id=$2&i=$3 last;
rewrite ^(.*)tu/tag_(.*).html$ $1/e/zxfcode/92game_tutag.php?n=$2 last;

rewrite ^(.*)app/(.*)/([0-9]+).html$ $1/e/zxfcode/92game_news.php?id=$2 last;
rewrite ^(.*)app/(.*)/([0-9]+)_([0-9]+).html$ $1/e/zxfcode/92game_news.php?id=$2&page=$3 last;
rewrite ^(.*)app/(.*)/xinwen.html$ $1/e/zxfcode/92game_xinwen.php?classid=8&n=$2 last;
rewrite ^(.*)app/(.*)/xinwen_([0-9]+).html$ $1/e/zxfcode/92game_xinwen.php?classid=8&n=$2&page=$3 last;
rewrite ^(.*)app/(.*)/huodong.html$ $1/e/zxfcode/92game_xinwen.php?classid=9&n=$2 last;
rewrite ^(.*)app/(.*)/huodong_([0-9]+).html$ $1/e/zxfcode/92game_xinwen.php?classid=9&n=$2&page=$3 last;
rewrite ^(.*)app/(.*)/gonglue.html$ $1/e/zxfcode/92game_xinwen.php?classid=10&n=$2 last;
rewrite ^(.*)app/(.*)/pingce.html$ $1/e/zxfcode/92game_xinwen.php?classid=11&n=$2 last;
rewrite ^(.*)app/(.*)/wenda.html$ $1/e/zxfcode/92game_xinwen.php?classid=12&n=$2 last;
rewrite ^(.*)app/(.*)/gonglue_([0-9]+).html$ $1/e/zxfcode/92game_xinwen.php?classid=10&n=$2&page=$3 last;
rewrite ^(.*)app/(.*)/pingce_([0-9]+).html$ $1/e/zxfcode/92game_xinwen.php?classid=11&n=$2&page=$3 last;
rewrite ^(.*)app/(.*)/wenda_([0-9]+).html$ $1/e/zxfcode/92game_xinwen.php?classid=12&n=$2&page=$3 last;

rewrite ^(.*)zt/(.*)/zixun.html$ $1/e/zxfcode/92game_djzt.php?c=zixun&n=$2 last;
rewrite ^(.*)zt/(.*)/zixun_([0-9]+).html$ $1/e/zxfcode/92game_djzt.php?c=zixun&n=$2&page=$3 last;
rewrite ^(.*)zt/(.*)/xiazai.html$ $1/e/zxfcode/92game_djzt.php?c=xiazai&n=$2 last;
rewrite ^(.*)zt/(.*)/xiazai_([0-9]+).html$ $1/e/zxfcode/92game_djzt.php?c=xiazai&n=$2&page=$3 last;
rewrite ^(.*)zt/(.*)/buding.html$ $1/e/zxfcode/92game_djzt.php?c=buding&n=$2 last;
rewrite ^(.*)zt/(.*)/buding_([0-9]+).html$ $1/e/zxfcode/92game_djzt.php?c=buding&n=$2&page=$3 last;
rewrite ^(.*)zt/(.*)/gonglue.html$ $1/e/zxfcode/92game_djzt.php?c=gonglue&n=$2 last;
rewrite ^(.*)zt/(.*)/gonglue_([0-9]+).html$ $1/e/zxfcode/92game_djzt.php?c=gonglue&n=$2&page=$3 last;
rewrite ^(.*)zt/(.*)/video.html$ $1/e/zxfcode/92game_djzt.php?c=video&n=$2 last;
rewrite ^(.*)zt/(.*)/video_([0-9]+).html$ $1/e/zxfcode/92game_djzt.php?c=video&n=$2&page=$3 last;

rewrite ^(.*)app/(.*)/down.html$ $1/e/zxfcode/92game_down.php?n=$2 last;

rewrite ^(.*)app/(.*)/$ $1/e/zxfcode/app.php?n=$2 last;
rewrite ^(.*)app/(.*)/index.html$ $1/e/zxfcode/app.php?n=$2 last;
rewrite ^(.*)app/(.*)$ $1/e/zxfcode/app.php?n=$2 last;

rewrite ^(.*)ka/([0-9]+).html$ $1/e/zxfcode/ka.php?id=$2 last;

rewrite ^(.*)kaifu.html$ $1/e/zxfcode/kaifuce.php?classid=23 last;
rewrite ^(.*)kaice.html$ $1/e/zxfcode/kaifuce.php?classid=24 last;
rewrite ^(.*)kaifu_([0-9]+).html$ $1/e/zxfcode/kaifuce.php?classid=23&page=$2 last;
rewrite ^(.*)kaice_([0-9]+).html$ $1/e/zxfcode/kaifuce.php?classid=24&page=$2 last;

rewrite ^(.*)fahao.html$ $1/e/zxfcode/fahao.php last;
rewrite ^(.*)libaonew_([0-9]+).html$ $1/e/zxfcode/libao.php?classid=22&page=$2 last;
rewrite ^(.*)libaonew_([0-9]+)_([0-9]+)_([0-9]+).html$ $1/e/zxfcode/libao.php?classid=22&page=$2&tz=$3&os=$4 last;
rewrite ^(.*)libaonew_([0-9]+)_(.*).html$ $1/e/zxfcode/libao.php?classid=22&page=$2&key=$3 last;
rewrite ^(.*)libao_([0-9]+).html$ $1/e/zxfcode/libao.php?classid=22&haotype=1&page=$2 last;
rewrite ^(.*)libao_([0-9]+)_([0-9]+)_([0-9]+).html$ $1/e/zxfcode/libao.php?classid=22&haotype=1&page=$2&tz=$3&os=$4 last;

rewrite ^(.*)jihuoma_([0-9]+).html$ $1/e/zxfcode/libao.php?classid=22&haotype=2&page=$2 last;
rewrite ^(.*)jihuoma_([0-9]+)_([0-9]+)_([0-9]+).html$ $1/e/zxfcode/libao.php?classid=22&haotype=2&page=$2&tz=$3&os=$4 last;

rewrite ^(.*)xinshouka_([0-9]+).html$ $1/e/zxfcode/libao.php?classid=22&haotype=3&page=$2 last;
rewrite ^(.*)xinshouka_([0-9]+)_([0-9]+)_([0-9]+).html$ $1/e/zxfcode/libao.php?classid=22&haotype=3&page=$2&tz=$4&os=$5 last;


rewrite ^(.*)yxk.html$ $1/e/zxfcode/gamelist.php last;
rewrite ^(.*)yxk-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/e/zxfcode/gamelist.php?lx=$2&tc=$3&zt=$4&sf=$5&p=$6 last;

}


app下的内容页,出错,亲们帮我看看是哪里有问题吗?
2014-10-26 11:02:18 1

72135
金牌会员
5476.50 价值分

支持 支持 这么长。。。
  支持 (0分)  反对 (0分)
回复  2014-10-26 21:22:48 2
 1  (总1页)
AMH社区列表
用户服务中心