Welcome! Log In Create A New Profile

Advanced

Setting up a webDAV server

December 31, 2021 06:59AM
Hi,
I am new to nginx and am trying to get a simple webDAV server running.
I can use GET to read files, but PUT fails.
Using opensuse 15.3.

'# nginx -V
nginx version: nginx/1.20.2
built by gcc 7.5.0 (SUSE Linux)
configure arguments: --with-http_dav_module'

nginx.conf is as supplied with the following added in 'server':

location /html/calendar {
root html/calendar;
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_access group:rw all:r;

}
and the user changed to 'nginx'

After an unsuccessful PUT, wireshark shows:
'No. Time Source Destination Protocol Length Info
17 5.918827416 172.21.42.42 172.21.42.124 HTTP 3133 PUT /calendar/Geburtstage.ics HTTP/1.1 (text/calendar)
No. Time Source Destination Protocol Length Info
19 5.918956256 172.21.42.124 172.21.42.42 HTTP 380 HTTP/1.1 405 Not Allowed (text/html)

It seems a permissions problem, but I don't know where.
Linux permissions:

The calendar directory is root:nginx 777
and the calendar files are root:nginx 666

can anyone point me to a starting point?

Many thanks,

Robert von Knobloch.
Subject Author Posted

Setting up a webDAV server

BonVonKnobloch December 31, 2021 06:59AM

Re: Setting up a webDAV server

Maxim Dounin December 31, 2021 09:50AM

Re: Setting up a webDAV server

BonVonKnobloch January 01, 2022 11:00AM

Re: Setting up a webDAV server

gariac January 01, 2022 02:34PM

Re: Setting up a webDAV server

BonVonKnobloch January 02, 2022 05:00AM

Re: Setting up a webDAV server

Francis Daly January 02, 2022 07:28AM

Re: Setting up a webDAV server

BonVonKnobloch January 02, 2022 08:51AM

Re: Setting up a webDAV server

Francis Daly January 03, 2022 06:54AM

Re: Setting up a webDAV server

BonVonKnobloch January 06, 2022 12:00PM

Re: Setting up a webDAV server

Maxim Dounin January 02, 2022 10:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 47
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready