{"id":3721,"date":"2019-12-16T09:37:32","date_gmt":"2019-12-16T02:37:32","guid":{"rendered":"https:\/\/tino.vn\/?post_type=ht_kb&#038;p=3721"},"modified":"2019-12-16T09:38:01","modified_gmt":"2019-12-16T02:38:01","slug":"fix-loi-405-method-not-allowed","status":"publish","type":"ht_kb","link":"https:\/\/tino.vn\/blog\/docs\/fix-loi-405-method-not-allowed\/","title":{"rendered":"Fix L\u1ed7i 405 Method Not Allowed tr\u00ean DirectAdmin"},"content":{"rendered":"<header class=\"entry-header\">\n<h1 class=\"entry-title\"><em style=\"color: #4b4d4d; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;\">Ch\u00fang ta truy c\u1eadp v\u00e0o trang web v\u00e0 b\u1ecb b\u00e1o l\u1ed7i b\u00ean trong source code\u00a0<\/em><\/h1>\n<\/header>\n<div class=\"entry-content\">\n<p><strong>Error :\u00a0405 Method Not Allowed<\/strong><\/p>\n<p>Request Method:PATCH<\/p>\n<p>Request Method:PUT<\/p>\n<p>Ch\u1ec9 \u00e1p d\u1ee5ng cho VPS s\u1eed d\u1ee5ng Direct Admin :<\/p>\n<p>Truy c\u1eadp v\u00e0o SSH v\u00e0 build theo l\u1ec7nh sau<\/p>\n<p>Di chuy\u1ec3n t\u1edbi \u0111\u01b0\u1eddng d\u1eabn :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">cd \/usr\/local\/directadmin\/custombuild<\/pre>\n<p>&nbsp;<\/p>\n<p>Sau \u0111\u00f3 build Method trang web \u0111ang l\u1ed7i (Request Method:PATCH ho\u1eb7c DELETE \u2026)<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"wpcustom\">.\/build set http_methods GET:HEAD:POST:PUT:DELETE:PATCH\r\n.\/build rewrite_confs<\/pre>\n<p>&nbsp;<\/p>\n<p>Nh\u01b0 v\u1eady l\u00e0 c\u00e1c Methos tr\u00ean \u0111\u00e3 \u0111\u01b0\u1ee3c build ho\u00e0n t\u1ea5t .<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ch\u00fang ta truy c\u1eadp v\u00e0o trang web v\u00e0 b\u1ecb b\u00e1o l\u1ed7i b\u00ean trong source code\u00a0 Error :\u00a0405 Method Not Allowed Request Method:PATCH Request Method:PUT Ch\u1ec9 \u00e1p d\u1ee5ng cho VPS s\u1eed d\u1ee5ng Direct Admin : Truy c\u1eadp v\u00e0o SSH v\u00e0 build theo l\u1ec7nh sau Di chuy\u1ec3n t\u1edbi \u0111\u01b0\u1eddng d\u1eabn : cd \/usr\/local\/directadmin\/custombuild &nbsp; Sau \u0111\u00f3 build [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":16424,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"tags":[],"ht_kb_category":[23],"class_list":["post-3721","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-control-panel-direct-admin"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/3721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=3721"}],"version-history":[{"count":0,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/3721\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/16424"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=3721"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=3721"},{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb_category?post=3721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}