user@host:/var/www/test# curl -vX PUT -d "whatever=whatever" http://localhost/ * About to connect() to localhost port 80 (#0) * Trying 127.0.0.1... * connected * Connected to localhost (127.0.0.1) port 80 (#0) > PUT / HTTP/1.1 > User-Agent: curl/7.26.0 > Host: localhost > Accept: */* > Content-Length: 17 > Content-Type: application/x-www-form-urlencoded > * upload completely sent off: 17 out of 17 bytes * HTTP 1.1 or later with persistent connection, pipelining supported < HTTP/1.1 405 Method Not Allowed < Date: Fri, 18 Jul 2014 06:38:18 GMT < Server: Apache/2.2.22 (Debian) < Allow: GET,HEAD,POST,OPTIONS < Vary: Accept-Encoding < Content-Length: 313 < Connection: close < Content-Type: text/html; charset=iso-8859-1 < 405 Method Not Allowed

Method Not Allowed

The requested method PUT is not allowed for the URL /put.php.


Apache/2.2.22 (Debian) Server at localhost Port 80
* Closing connection #0