Closed (fixed)
Project:
Provision
Version:
6.x-1.x-dev
Component:
HTTP Service
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Mar 2012 at 00:44 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent
Hello,
I'm trying to work with services module to make some desktop application for drupal.
I'm using REST server. I can make GET and POST requests but PUT and DELETE are not working for some reason. Could it be that on Barracuda those methods are forbiden or something ?
Comments
Comment #1
dmiric commentedYeah I found it my self. Infact they are disabled.
If anyone else has this problem check:
/var/aegir/config/includes/nginx_advanced_include.conf
Comment #2
omega8cc commentedBOA allows only requests required by Drupal and supported in Nginx by default: GET, HEAD and POST.
If you need more, you will need to fork BOA to add this: http://wiki.nginx.org/HttpDavModule and also modify its Nginx configuration.
Comment #3
omega8cc commentedI'm moving this over to the correct issue queue.
Also related: #1524738: CORS support in barracuda
Comment #4
omega8cc commentedFixed in commits:
6.x-1.x - http://drupalcode.org/project/provision.git/commit/a0ad4ca
6.x-2.x - http://drupalcode.org/project/provision.git/commit/37504d6
Thanks for the report!