HTTP methods MKCOL and DELETE return error 501 Not Implemented

10

#1

Hello everyone,

I have installed my ownCloud server (10.0.2) on a shared web hosting service. Some features, like creating a folder or deleting a sharing, are not working.
In both cases, the HTTP request returns an error "501 Not Implemented : The requested method is not implemented by the server."
It's as if there was a reverse proxy blocking HTTP methods like MKCOL and DELETE, but I don't think there's one installed.

I'd be grateful to receive some help, unfortunately I'm totally lost...

Steps to reproduce

  1. Log as admin on my ownCloud web interface
  2. Try to create a new folder / try to delete a sharing

Expected behaviour

The folder is created, the sharing is deleted.

Actual behaviour

The folder is not created, the sharing is not deleted.
In both cases, the HTTP request returns an error "501 Not Implemented : The requested method is not implemented by the server."

Server configuration

Operating system:
My ownCloud server is installed on a shared web hosting service.

Web server:
Apache2

Database:
10.1.24-MariaDB

PHP version:
7.0

ownCloud version: (see ownCloud admin page)
10.0.2

Updated from an older ownCloud or fresh install:
ownCloud 9.1.4 first installed then upgraded to owncloud 10.0.0, then to 10.0.2

Where did you install ownCloud from:
Softaculous apps installer

Signing status (ownCloud 9.0 and above):

The content of config/config.php:

List of activated apps:

Are you using external storage, if yes which one: local/smb/sftp/...
No

Are you using encryption: yes/no
No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No


"501 Not Implemented" à "PROPFIND https://fichiers.tdhmali.org/remote.php/webdav
#2

Contact your provider about this or use a real vserver. :slight_smile:


#3

Thank you much for your advice @guruz ! :slight_smile:


New installation on a web hosting - new folders not created
#4

In case that would be helpful to someone else, the solution was given to me here.

It's in french, so here's the trick:
I had to add the following lines in the .htaccess file at the root of my ownCloud directory:

<IfModule mod_security2.c>
SecRuleRemoveById 1234123435
</IfModule>

The explanation might be found in this over post.