Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  DirectAdmin  >  How to Configure CustomBuild in DirectAdmin for Apache Methods?
Top Scroll

How to Configure CustomBuild in DirectAdmin for Apache Methods?

 2 min

By default, the configuration of all DirectAdmin servers allows GET, HEAD, and POST requests. Additionally, you have to configure CustomBuild in DirectAdmin if your applications need to use PUT or DELETE methods in Apache or Nginx methods.

To Configure DirectAdmin’s CustomBuild for Apache Methods

1. Log in to SSH as the root user.

2. Enter and execute these commands:

cd /usr/local/directadmin/custombuild/
./build set http_methods GET:HEAD:POST:PUT:DELETE
./build rewrite_confs


After running these commands, your server can now deploy DELETE and PUT functions. It is because SSH will configure CustomBuild in DirectAdmin for Apache Methods.

To disable these configurations, edit the http_methods and remove the previously added methods, then run ./build rewrite_confs again.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
Claim the discount before it’s too late. Use the coupon code:
Note: Copy the coupon code and apply it on checkout.