Re: mod_allowmethods to get all the http methods working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 a 405 - Method not allowed).

I've found another solution that include the rewriting of url but this conflict with xdebug and with phpmyadmin, so I cannot use this solution and, frankly speaking, it looks to me like a workaround and not a "real" solution.

Thank again for help!

Francesco




Il 28.03.18 13:17, Francesco Piraneo G. ha scritto:

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


...

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux