My Oracle Support Banner

Uploading (PUT) File to OHS Fails with '405 Method Not Allowed' (Doc ID 2378889.1)

Last updated on MARCH 28, 2018

Applies to:

Oracle HTTP Server - Version to [Release Oracle11g]
Information in this document applies to any platform.


When attempting to upload a file to OHS via PUT Method, the following error occurs.

Command with response:

curl -d <file path to upload> -X PUT http://hostname.domain:port/upload/file.txt
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The requested resource cannot be accessed using the method PUT specified in the request.</p>

Access log shows the following:

IP - - [Time Stamp] "PUT /upload/ HTTP/1.1" 405 255






To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.