xiao9469 发表于 2022-8-27 20:20:39

伪静态无法勾选或者取消勾选!!!

大佬说404 not found是伪静态配置的问题,之前配置过

感觉可能是因为这个问题出现了好几个bug

应该是配置成功了,可是不知道为什么没生效!



后台点击【勾选】或者【取消】都没反应,

下图是宝塔的配置

复制的是:Nginx Web Server
rewrite ^([^\.]*)/topic-(.+)\.html$ $1/portal.php?mod=topic&topic=$2 last;rewrite ^([^\.]*)/article-(+)-(+)\.html$ $1/portal.php?mod=view&aid=$2&page=$3 last;rewrite ^([^\.]*)/forum-(\w+)-(+)\.html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3 last;rewrite ^([^\.]*)/thread-(+)-(+)-(+)\.html$ $1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3 last;rewrite ^([^\.]*)/group-(+)-(+)\.html$ $1/forum.php?mod=group&fid=$2&page=$3 last;rewrite ^([^\.]*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3 last;rewrite ^([^\.]*)/blog-(+)-(+)\.html$ $1/home.php?mod=space&uid=$2&do=blog&id=$3 last;rewrite ^([^\.]*)/archiver/(fid|tid)-(+)\.html$ $1/archiver/index.php?action=$2&value=$3 last;if (!-e $request_filename) {      return 404;}



感觉也没错啊 ,不知道哪里出现了问题

求大佬指点!!!
我知道答案 回答被采纳将会获得5 金币 已有0人回答
页: [1]
查看完整版本: 伪静态无法勾选或者取消勾选!!!

创宇盾启航版免费网站防御网站加速服务