Apache CGI/FastCGI Route PUT, DELETE switches to GET


I am using a linux server with Apache CGI / FastCGI but the PUT and DELETE methods are modified for the GET method

The accepted methods are just GET and POST has some way to fix this by .htaccess


I assume you are overriding the method by either sending a _METHOD parameter or setting the X-Http-Method-Override header? The Request Method from the Slim docs.


Yes if I send a custom header it works but there is no way I can do it through htaccess