0

How can i enable DELETE method on Apache2.4 debian(jessie)?

I have tried several solutions, like enable mod_allowmethods, but nothing seems to works.

Thank you

BenRoob
  • 1,662
  • 5
  • 22
  • 24
  • Are you sure it's Apache and not your application that's throwing that error? Also, check that you don't have any ``-directive in your Apache config or in some htaccess that blocks the DELETE method. – M. Eriksson Nov 20 '17 at 15:54
  • i don't think so because the application, developed on symfony php/javascript works very well in dev environment with symfony server:start, but when i switch in prod environment with apache2 everything works fine with GET and POST, but with DELETE i get the error message Method Not Allowed. – user8972029 Nov 20 '17 at 15:55
  • no .htacces and no limit directive in my conf files... – user8972029 Nov 20 '17 at 15:56
  • I've never encountered DELETE being blocked from any Apache server for PHP, unless it was explicitly configured to do so. – M. Eriksson Nov 20 '17 at 15:56
  • me too :) but now i have to solve this problem... any suggest for some hidden file to check on debian configuration? – user8972029 Nov 20 '17 at 16:05

0 Answers0