PUT Method Requests
The PUT method is an HTTP request for a file to be placed on the remote server. It's like a file upload that doesn't come from a form and tells you where to place the file in your document tree. You might guess that this is a very dangerous thing to allow for anonymous users. It's especially dangerous when users could be uploading PHP scripts.
Not all browsers support PUT requests, and neither do all servers. Netscape Composer and the W3C's Amaya browsers reportedly allow PUT requests. Apache for UNIX will accept them if configured to do so. To configure Apache to allow PUT requests, you use the Script directive inside a configuration file. See the Apache site for more information <http://www.apache. org/docs/mod/mod_actions.html#script ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access