home/posts/allow-additional-request-methods-apache-directadmin
September 4, 2019 · 1 min read

Allow additional request methods Apache / DirectAdmin

Jeffrey van Rossum
Jeffrey van Rossum
Product engineer · builds & ships his own products

Just a quick tip again. This time about how you can add additional request methods like PUT, DELETE etc. to your Apache / DirectAdmin configuration.

I couldn’t find the answer easily so thought I’d share it. I did this on a VPS with CentOS 7 and Directadmin 1.53.

Once you are logged in on your server, to edit your http configuration file run this command:

nano /etc/httpd/conf/extra/httpd-directories.conf

Add the needed methods to the AllowMethods bit inside <Directory /home>.

After you have made the changes, be sure to restart your VPS.

Update June 2021

If you are using CustomBuild, you can follow these instructions.

Questions or thoughts about this post?
say hi on 𝕏 →