{"id":2715,"date":"2019-05-05T11:52:03","date_gmt":"2019-05-05T03:52:03","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=2715"},"modified":"2020-04-03T14:23:13","modified_gmt":"2020-04-03T06:23:13","slug":"%e7%bb%87%e6%a2%a6dedecms%e6%8e%92%e9%99%a4%e6%9f%90%e4%b8%aa%e7%9b%ae%e5%bd%95%e4%b8%8d%e4%bd%bf%e7%94%a8%e4%bc%aa%e9%9d%99%e6%80%81","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/2715.html","title":{"rendered":"\u7ec7\u68a6DEDECMS\u6392\u9664\u67d0\u4e2a\u76ee\u5f55\u4e0d\u4f7f\u7528\u4f2a\u9759\u6001"},"content":{"rendered":"

\u6211\u4eec\u5728\u8bbe\u7f6e\u5168\u7ad9\u4f2a\u9759\u6001\u540e\uff0c\u8bbf\u95ee\u7ba1\u7406\u76ee\u5f55\u4f1a\u8981\u6c42\u5728\u76ee\u5f55\u540e\u9762\u6dfb\u52a0index.php\u624d\u80fd\u6b63\u5e38\u8bbf\u95ee,\u5982\u4e0b\u56fe<\/p>\n

\"\"<\/a><\/p>\n

\u8fd9\u6837\u6211\u4eec\u81ea\u5df1\u767b\u5f55\u65f6\uff0c\u6ca1\u95ee\u9898\uff0c\u4f46\u5728\u5199\u706b\u8f66\u5934\u767b\u5f55\u63a5\u53e3\u65f6\uff0c\u5c31\u4f1a\u51fa\u9519\uff1aRequest Error!<\/p>\n

\"\"<\/a><\/p>\n

\u6240\u4ee5\uff0c\u6211\u4eec\u5c31\u5f97\u628a\u540e\u53f0\u7ba1\u7406\u76ee\u5f55\u8bbe\u7f6e\u4e3a\u4e0d\u4f7f\u7528\u4f2a\u9759\u6001\u3002\u8bbe\u7f6e\u65b9\u6cd5<\/p>\n

#\u6392\u9664<\/span>\r\nrewrite<\/span> ^\/(dede)($|\/)<\/span> \/$1<\/span>\/index.php last<\/span>;<\/pre>\n

\u8fd9\u4e2a\u662fnginx\u73af\u5883\u4e0b\u7684\u89c4\u5219\uff0c\u5982\u679c\u4f60\u662fapache\u73af\u5883\uff0c\u8bf7\u7528\u4e0b\u9762\u7684\u89c4\u5219\u3002<\/span><\/span><\/p>\n

#\u6392\u9664<\/span>\r\nRewriteRule<\/span><\/span> ^(dede)($|\/)$ \/$1<\/span>\/index.php [L]<\/span><\/pre>\n

IIS<\/p>\n

<rule name=\"\u7ec7\u68a6iis\u6392\u9664\u76ee\u5f55\" stopProcessing=\"true\">\r\n\t<match ignoreCase=\"false\" url=\"^(dede)($|\/)$\"\/>\r\n\t<action type=\"Rewrite\" url=\"\/{R:1}\/index.php\"\/>\r\n<\/rule><\/code><\/pre>\n

 <\/p>\n

\u5982\u679c\u60f3\u8fc7\u6ee4\u591a\u4e2a\u76ee\u5f55\u5c31\u5728\u540e\u9762\u52a0\u4e00\u4e2a\u7ad6\u7ebf\u548c\u76ee\u5f55\u540d\u3002\u6bd4\u5982(dede|admin)<\/code><\/p>\n

\u8fd9\u4e2a\u89c4\u5219\u8981\u653e\u5230\u6240\u6709\u89c4\u5219\u524d\u9762\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u6211\u4eec\u5728\u8bbe\u7f6e\u5168\u7ad9\u4f2a\u9759\u6001\u540e\uff0c\u8bbf\u95ee\u7ba1\u7406\u76ee\u5f55\u4f1a\u8981\u6c42\u5728\u76ee\u5f55\u540e\u9762\u6dfb\u52a0index.php\u624d\u80fd\u6b63\u5e38\u8bbf\u95ee,\u5982\u4e0b\u56fe \u8fd9\u6837\u6211\u4eec\u81ea\u5df1\u767b […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[43,358,902,901,180],"class_list":["post-2715","post","type-post","status-publish","format-standard","hentry","category-web","tag-dedecms","tag-358","tag-902","tag-901","tag-180"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=2715"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2715\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=2715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=2715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=2715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}