{"id":14677,"date":"2021-11-08T11:51:15","date_gmt":"2021-11-08T11:51:15","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=14677"},"modified":"2022-04-22T16:55:20","modified_gmt":"2022-04-22T11:25:20","slug":"configure-custombuild-directadmin-apache-methods","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/","title":{"rendered":"How to Configure CustomBuild in DirectAdmin for Apache Methods?"},"content":{"rendered":"<p>By default, the configuration of all DirectAdmin servers allows GET, HEAD, and POST requests. Additionally, you have to configure&nbsp;CustomBuild in DirectAdmin if your applications need to use PUT or DELETE methods in Apache or Nginx methods.<\/p>\n<h2>To Configure DirectAdmin&#8217;s CustomBuild for Apache Methods<\/h2>\n<p>1. Log in to SSH as the root user.<\/p>\n<p>2. Enter and execute&nbsp;these commands:<\/p>\n<pre class=\"font-size:15 line-height:20 lang:default decode:true\">cd \/usr\/local\/directadmin\/custombuild\/\n.\/build set http_methods GET:HEAD:POST:PUT:DELETE\n.\/build rewrite_confs<\/pre>\n<p>&nbsp;<\/p>\n<p>After running these commands, your server can now deploy DELETE and PUT functions. It is because SSH will configure&nbsp;CustomBuild in&nbsp;DirectAdmin for Apache Methods.<\/p>\n<p>To disable these configurations, edit the <em>http_methods<\/em> and remove the previously added methods, then run <em>.\/build rewrite_confs<\/em> again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default, the configuration of all DirectAdmin servers allows GET, HEAD, and POST requests. Additionally, you have to configure&nbsp;CustomBuild in DirectAdmin if your applications need to use PUT or DELETE methods in Apache or Nginx methods. To Configure DirectAdmin&#8217;s CustomBuild for Apache Methods 1. Log in to SSH as the root user. 2. Enter and [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1798,41],"tags":[112,2698,2699,2697,1198],"class_list":["post-14677","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-directadmin","category-howtos","tag-apache-hosting","tag-apache-in-directadmin","tag-apache-methods","tag-configure-custombuild-directadmin-apache","tag-ssh-access"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Configure CustomBuild in DirectAdmin for Apache Methods?<\/title>\n<meta name=\"description\" content=\"This article will help you in understanding how you can configure custombuild in DirectAdmin for apache methods.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure CustomBuild in DirectAdmin for Apache Methods?\" \/>\n<meta property=\"og:description\" content=\"This article will help you in understanding how you can configure custombuild in DirectAdmin for apache methods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-08T11:51:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-22T11:25:20+00:00\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/\"},\"author\":{\"name\":\"Prasad Khartadkar\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"headline\":\"How to Configure CustomBuild in DirectAdmin for Apache Methods?\",\"datePublished\":\"2021-11-08T11:51:15+00:00\",\"dateModified\":\"2022-04-22T11:25:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/\"},\"wordCount\":117,\"commentCount\":0,\"keywords\":[\"Apache hosting\",\"Apache in DirectAdmin\",\"Apache methods\",\"configure CustomBuild\u00a0DirectAdmin Apache\",\"SSH access\"],\"articleSection\":[\"DirectAdmin\",\"How-Tos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/\",\"name\":\"How to Configure CustomBuild in DirectAdmin for Apache Methods?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2021-11-08T11:51:15+00:00\",\"dateModified\":\"2022-04-22T11:25:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"This article will help you in understanding how you can configure custombuild in DirectAdmin for apache methods.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure CustomBuild in DirectAdmin for Apache Methods?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"sameAs\":[\"https:\/\/www.milesweb.in\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Configure CustomBuild in DirectAdmin for Apache Methods?","description":"This article will help you in understanding how you can configure custombuild in DirectAdmin for apache methods.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure CustomBuild in DirectAdmin for Apache Methods?","og_description":"This article will help you in understanding how you can configure custombuild in DirectAdmin for apache methods.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-11-08T11:51:15+00:00","article_modified_time":"2022-04-22T11:25:20+00:00","author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/"},"author":{"name":"Prasad Khartadkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"headline":"How to Configure CustomBuild in DirectAdmin for Apache Methods?","datePublished":"2021-11-08T11:51:15+00:00","dateModified":"2022-04-22T11:25:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/"},"wordCount":117,"commentCount":0,"keywords":["Apache hosting","Apache in DirectAdmin","Apache methods","configure CustomBuild\u00a0DirectAdmin Apache","SSH access"],"articleSection":["DirectAdmin","How-Tos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/","name":"How to Configure CustomBuild in DirectAdmin for Apache Methods?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2021-11-08T11:51:15+00:00","dateModified":"2022-04-22T11:25:20+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"This article will help you in understanding how you can configure custombuild in DirectAdmin for apache methods.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/configure-custombuild-directadmin-apache-methods\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Configure CustomBuild in DirectAdmin for Apache Methods?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=14677"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14677\/revisions"}],"predecessor-version":[{"id":16685,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14677\/revisions\/16685"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=14677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=14677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=14677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}