Welcome! Log In Create A New Profile

Advanced

Re: upload module error

Valery Kholodkov
March 29, 2011 07:48AM
----- vetri <nginx-forum@nginx.us> wrote:
> 127.0.1.1 - - [29/Mar/2011:16:21:44 +0530] "POST /upload HTTP/1.0"
> 301 185 "https://zd-ubuntu1:8001/" "Mozilla/5.0 (Windows; U; Windows NT
> 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16"
> 192.168.110.198 - - [29/Mar/2011:16:21:44 +0530] "POST /upload HTTP/1.1"
> 301 185 "https://zd-ubuntu1:8001/" "Mozilla/5.0 (Windows; U; Windows NT
> 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16"
> 192.168.110.198 - - [29/Mar/2011:16:21:44 +0530] "GET /upload/ HTTP/1.1"
> 405 173 "https://zd-ubuntu1:8001/" "Mozilla/5.0 (Windows; U; Windows NT
> 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16"

Although it's not an access log, here is the clue: you are making a GET request to the upload location. Upload module returns 405 in this case.

Here is what you can do about that:
1) Do not redirect to location /upload/;
2) Replace

- location /upload {
+ location = /upload {

in your configuration.

>
>
>
>
> this is the access log information after i uploaded single file

--
Regards,
Valery Kholodkov

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

upload module error

vetri March 29, 2011 05:00AM

Re: upload module error

Valery Kholodkov March 29, 2011 05:30AM

Re: upload module error

vetri March 29, 2011 05:50AM

Re: upload module error

Valery Kholodkov March 29, 2011 06:12AM

Re: upload module error

vetri March 29, 2011 06:52AM

Re: upload module error

Valery Kholodkov March 29, 2011 07:48AM

Re: upload module error

vetri March 29, 2011 09:17AM

Re: upload module error

Valery Kholodkov March 29, 2011 09:42AM

Re: upload module error

vetri March 30, 2011 12:00AM

Re: upload module error

vetri March 30, 2011 12:36AM

Re: upload module error

Yanxin Z. March 29, 2011 11:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 223
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready