Knowledge Base
MilesWeb / Domain Name & DNS Issues

How to Configure CustomBuild in DirectAdmin for Apache Methods?

Approx. read time : 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:

 

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.

Prasad Khartadkar
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.