My Oracle Support Banner

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

Last updated on AUGUST 29, 2023

Applies to:

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

Symptoms

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

Command with response:

curl -d <file path to upload> -X PUT http://hostname.domain:port/<DIR>/file.txt
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested resource cannot be accessed using the method PUT specified in the request.</p>
</body></html>


Access log shows the following:

IP - - [Time Stamp] "PUT /<DIR>/ HTTP/1.1" 405 255

 

 

Changes

 

Cause

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

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


In this Document
Symptoms
Changes
Cause
Solution
References


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