Running additional http methods on the server with DirectAdmin
Mobilization of additional methods such as http PUT and DELETE on a server with DirectAdmin panel is very easy.
command is very useful for problems with the script because it requires Nextclound these modules.
Let's get started.
We log on to the console ssh root account and go to the directory:
1 | cd /usr/local/directadmin/custombuild/ |
issue the command:
1 | ./build set http_methods GET:HEAD:POST:PROPFIND:OPTIONS:PUT:DELETE:MKCOL:COPY:MOVE:REPORT |
and reload the same configuration vhosts:
1 | ./build rewrite_confs |
Ready.