用了这个伪静态,静态文件打不开了

location / {
#PC版
rewrite "^/listinfo-(.+?)-(.+?)\.html$" /e/action/ListInfo/index.php?classid=$1&page=$2 last;
#rewrite "^/showinfo-(.+?)-(.+?)-(.+?)\.html$" /e/action/ShowInfo.php?classid=$1&id=$2&page=$3 last;
rewrite "^/(.+?)-(.+?)-(.+?)\.html$" /e/action/ListInfo.php?classid=$1&ph=1&fenlei=$2&tempid=$3 last;
rewrite "^/sitemap.xml$" /sitemap.php last;

}

已经生成静态文件的内容页面/xx/2016-10-03/43861.html打不开了

阅读 2.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题