Re: Setting up a webDAV server

2022-01-06 Thread BonVonKnobloch
Thanks Francis, Maxim, I think that the docs are fine. Coming from an OS/network world and not steeped in HTTP, I had mentally reversed the concepts of location and root. All is (almost) clear now. Bob Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293215,293273#msg-293273 __

Re: Setting up a webDAV server

2022-01-03 Thread Francis Daly
On Sun, Jan 02, 2022 at 08:51:40AM -0500, BonVonKnobloch wrote: Hi there, > I had one part of the pathname double and could not see it. > Seemingly I have PUT & GET functionality - now for further testing and > tightening permissions. Good stuff -- it sounds like you have a thing that works well

Re: Setting up a webDAV server

2022-01-02 Thread Maxim Dounin
Hello! On Sat, Jan 01, 2022 at 11:00:33AM -0500, BonVonKnobloch wrote: > Thanks for your help Maxim, but I am afraid that I still can't get PUT to > work. > File permissions are fine, so I assume that my nginx.conf is still wrong: > > location calendar { It is. The location prefix doesn

Re: Setting up a webDAV server

2022-01-02 Thread BonVonKnobloch
Thank you Francis, I had one part of the pathname double and could not see it. Seemingly I have PUT & GET functionality - now for further testing and tightening permissions. I confess to never being sure where a path relative to the nginx directory or a full path is required (reading the docs did n

Re: Setting up a webDAV server

2022-01-02 Thread Francis Daly
On Sun, Jan 02, 2022 at 05:00:12AM -0500, BonVonKnobloch wrote: Hi there, > I also set 'open' permissions until the thing runs OK, then tighten them. > Still getting '405' on PUT. The dav module documentation and example config is at https://nginx.org/en/docs/http/ngx_http_dav_module.html Can y

Re: Setting up a webDAV server

2022-01-02 Thread BonVonKnobloch
Thanks for the thought Gariac, but no I don't have SELinux enabled, have also disabled AppArmor (had some trouble in the past). I also set 'open' permissions until the thing runs OK, then tighten them. Still getting '405' on PUT. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293215,2

Re: Setting up a webDAV server

2022-01-01 Thread lists
I can't think of a case when it ever was the right solution.   Original Message   From: nginx-fo...@forum.nginx.org Sent: January 1, 2022 8:00 AM To: nginx@nginx.org Reply-to: nginx@nginx.org Subject: Re: Setting up a webDAV server Thanks for your help Maxim, but I am afra

Re: Setting up a webDAV server

2022-01-01 Thread BonVonKnobloch
Thanks for your help Maxim, but I am afraid that I still can't get PUT to work. File permissions are fine, so I assume that my nginx.conf is still wrong: location calendar { root html/calendar; dav_methods PUT DELETE MKCOL COPY MOVE; dav_access group:rw

Re: Setting up a webDAV server

2021-12-31 Thread Maxim Dounin
Hello! On Fri, Dec 31, 2021 at 06:59:46AM -0500, BonVonKnobloch wrote: > 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.conf is as supplied with the following added in 'server': > >

Setting up a webDAV server

2021-12-31 Thread BonVonKnobloch
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 foll