upload module error
Valery Kholodkov
valery+nginxen at grid.net.ru
Tue Mar 29 15:46:41 MSD 2011
----- vetri <nginx-forum at 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
More information about the nginx
mailing list