< ![CDATA[
当我试图上传附件时,发现附件页面无法正常显示
然后,我通过地址来访问附件页面的时候,发现那里跳转到了吐槽页面
然后我打开appconfig,发现原来是匹配式把附件页面也给匹配了,这就好办了
加个“/”,一切解决了
新的appconfig如下,为了保险起见我都改了
– rewrite: if(path ~ “/list.html”) goto “blog.php”
– rewrite: if(path ~ “/admin.html”) goto “login.php”
– rewrite: if(path ~ “/t.html”) goto “t.php”
– rewrite: if(path ~ “/project.html”) goto “project.php”
– rewrite: if(path ~ “/list-(d+).html”) goto “blog.php?page=$1”
– rewrite: if(path ~ “/read-(d+).html”) goto “blog.php?id=$1”
– rewrite: if(path ~ “/t-(d+).html”) goto “t.php?page=$1”
]]>