Re: [users@httpd] mod_allowmethods to get all the http methods working

2018-03-28 Thread Nick Kew
On Wed, 2018-03-28 at 13:17 +0200, Francesco Piraneo G. wrote: > After a lot of googling and asking to other colleagues I finally > arrived at mod_allowmethods so I changed my configuration in the > following way: Looks like a red herring to me. What you need is your handler to *support* the met

Re: [users@httpd] mod_allowmethods to get all the http methods working

2018-03-28 Thread Daniel Ferradal
Hello, You need to check two things. * Are you really landing in that virtualhost? Check "apachectl -S" output for the virtualhosts you have. Make sure there are no duplicate servernames used in different virtualhosts and that prior virtualhost witout servername or a greedy serveralias is not cat

Re: [users@httpd] mod_allowmethods to get all the http methods working

2018-03-28 Thread Francesco Piraneo G.
Sorry... I forgot a relevant part of my question: What's happens! (hard day today) When I try to access to the api with the PUT or DELETE method, Apache2 answer with: 192.168.1.22 - - [28/Mar/2018:11:09:06 +0200] "PUT /group/users/ HTTP/1.1" *405* 489 "-" "PostmanRuntime/7.1.1" (Basically

[users@httpd] mod_allowmethods to get all the http methods working

2018-03-28 Thread Francesco Piraneo G.
Hi all, I'm developing a REST api based on PHP 7.1 and Apache 2.4 (under ubuntu 17.10). The api requires the following methods working: GET POST OPTIONS PUT DELETE After a lot of googling and asking to other colleagues I finally arrived at mod_allowmethods so I changed my configuration in th