Welcome! Log In Create A New Profile

Advanced

Re: Setting up a webDAV server

Maxim Dounin
January 02, 2022 10:30AM
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't start with "/", so it won't
match any valid URI. You have to use "location /calendar/"
instead to match requests to "/calendar/...".

> root html/calendar;

And you probably want to use "root html;" instead (or just comment
it out to use the server's one), unless your files are in <prefix>
+ "html/calendar/calendar" directory.

See http://nginx.org/en/docs/http/request_processing.html for some
basic explanation on how nginx processes requests, and
the "location" and "root" directives documentation for additional
details:

http://nginx.org/r/location
http://nginx.org/r/root

Beginner's guide (http://nginx.org/en/docs/beginners_guide.html)
might be also helpful.

Hope this helps.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 256
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready