How to enable HTTP PUT requests in Apache httpd
Issue
- How "PUT requests" can be enabled on Apache httpd.
- How can I check whether PUT requests are enabled or disabled.
-
When PUT requests are restricted, you should get the following HTML in return after attempting a PUT:
<HTML><HEAD> <TITLE>ERROR: The requested URL could not be retrieved</TITLE> </HEAD><BODY> <H1>ERROR</H1> <H2>The requested URL could not be retrieved</H2> <HR> <P> While trying to retrieve the requested URL, the following error was encountered: <UL> <LI> <STRONG> Unsupported Request Method and Protocol </STRONG> </UL>
Environment
- Red Hat Enterprise Linux (RHEL)
- httpd-2.4.x
- JBoss Core Services Apache httpd
- httpd-2.4.x
- Apache httpd
- httpd-2.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.