RE: Uploading files to remote server running nginx 1.24 returns http status code 405 Not Allowed.

2023-12-18 Thread Reinis Rozitis
> When I am trying to upload files by hitting > https://software.example.com/upload_form.html I am encountering http status > code 405 Not Allowed. Please find inline a screenshot for your reference. Does your upload form point exactly to '/upload.php' ? as by by default N

Re: 405 Not Allowed

2022-03-10 Thread felipesmendes
se: 20 2022/03/10 11:47:41 [debug] 28458#28458: *757 http finalize request: 405, "/public?" a:1, c:1 2022/03/10 11:47:41 [debug] 28458#28458: *757 http special response: 405, "/public?" 2022/03/10 11:47:41 [debug] 28458#28458: *757 http set discard body 2022/03/10 11:47:41

Re: 405 Not Allowed

2022-03-10 Thread felipesmendes
Hi Sergey, I didn't realize this because I didn't know Nginx, so now I removed those settings and went back to using saber/dav and I'll follow your advice to try to debug the 405 error. I'll be back soon with updates. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293805,293820#msg-2

Re: 405 Not Allowed

2022-03-09 Thread Sergey A. Osokin
Hi, thanks for the update. On Wed, Mar 09, 2022 at 06:16:50AM -0500, felipesmendes wrote: > Hi Sergey, > > Thank you for support. > > I managed to solve this problem. I'm glad you solved the issue. > I add this configuration in vhost then it works: > > dav_methods PUT DELETE MKCOL COPY MOVE;

Re: 405 Not Allowed

2022-03-09 Thread felipesmendes
Hi Sergey, Thank you for support. I managed to solve this problem. I add this configuration in vhost then it works: dav_methods PUT DELETE MKCOL COPY MOVE; dav_ext_methods PROPFIND OPTIONS; create_full_put_path on; dav_access user:rw group:rw all:rw; Posted at Nginx Forum: https://forum.nginx

Re: 405 Not Allowed

2022-03-08 Thread Sergey A. Osokin
Hi, thanks for the update. [...] Have you sent/tested any other request to the sabre/dav through nginx? And if so, could you share a result in from the nginx logfile. Also, let's return back to the request: 201.48.168.101 - - [08/Mar/2022:14:00:38 +] "OPTIONS / HTTP/1.1" 405 182 "-" "WinSC

Re: 405 Not Allowed

2022-03-08 Thread felipesmendes
Hello Sergey, I did what you told, update to nginx (1.16.1-0+xenial1). And here is the config of server: # The server directive says Nginx that this is a new server configuration server { # This has to be the domain you want to use server_name webdav.inoprime.com.br; # Th

Re: 405 Not Allowed

2022-03-08 Thread Sergey A. Osokin
P client i'm gotting > 405 Not allowed, on access log comes this: > > 201.48.168.101 - - [08/Mar/2022:14:00:38 +] "OPTIONS / HTTP/1.1" 405 182 > "-" "WinSCP/5.19.6 neon/0.31.2" > > In the documentation of sabredav is telling if we got 405 err

405 Not Allowed

2022-03-08 Thread felipesmendes
Hello Nginx Team, I'm trying to use a WebDav server called sabredav (https://sabre.io/dav/install/) , so I installed everything and seens to work, but when I try to connect to this server by WinSCP client i'm gotting 405 Not allowed, on access log comes this: 201.48.168.101 - - [08/M

Nginx 405 not allowed issue

2019-11-13 Thread skumar48
Hi, I want to allow to accept post request for static content by nginx server. i have three solution so i can add patches. take a look below. 1.) error_page 405 =200 $uri This basically tells nginx to change the response code to 200 for 405 messages 2.) location / { rewrit

Re: How to solve the problem of "405 not allowed"?

2013-09-10 Thread helluvanag ..
Hi, In all the above posts a code snippet has been given to rectify the 405 error. But i wondering where exactly that code snippet has to be added(i mean in which file of the server box). If anyone can explain a bit elaborately, i would be grateful. Thanks and Regards, Nagender -- Posted vi