Request PATCH 403 Forbidden

I recently tried installing an OpenSource package called EspoCRM. It uses PATCH queries to edit records. However, I cannot get it to work.

I installed it on an Apache Linux server with PHP 5.4.31. I tried to install all CHMODs on 777 as a test, but that did not help.

I contacted the creator, what am I doing wrong. He believes that my server can block PATCH requests. So I installed it on the XAMPP test on my Destkop, and it worked fine. However, I cannot find a way to reject or allow PATCH requests.

Does anyone know how to fix this?

Edit: if I grab the request URL and just open the URL in a new tab, it will open correctly. It just does not process the request

+4
source share
1 answer

Vhost requires permission to handle methods such as PATCH.

Add the LIMIT rules, as shown below in the section of your directory in the vhost configuration:

  <Limit GET POST PUT DELETE HEAD OPTIONS PATCH>
      Order allow,deny
      Allow from all
  </Limit>
+5
source

All Articles