This post is for my personal reference for future use.
If you are using a VPS or a Dedicated Server and installed DirectAdmin as a Web / Server Panel, sometimes you may encounter the following error:
Sat May 02 07:27:45.728967 2020] [allowmethods:error] [pid 20266:tid XXXXXXX848] [client XXXXXXX] AH01623: client method denied by server configuration: 'PATCH' to /home/XXXXX/domains/XXXXXXX, referer: https://XXXXXXXX
This means that the server does not support a specific Request Method which in my case is a PATCH Request Method. So in order for this PATCH Request Method to work on the server that is using DirectAdmin, we need to enable it by:
- SSH to your server
- Type the following commands
cd /usr/local/directadmin/custombuild ./build set http_methods GET:HEAD:POST:PUT:DELETE:PATCH ./build rewrite_confs
Hope this helps!