curl-users
posting doesn't work on lighttpd
From: Patrick Aljord <patcito_at_gmail.com>
Date: Sun, 2 Mar 2008 19:04:48 -0500
Date: Sun, 2 Mar 2008 19:04:48 -0500
Hey all,
I'm using this command to upload a file to my server:
curl -F tracer=@test.png http://mypage.com/uploadtest.php
It works on all my servers that use apache but on my lighttpd I get this error:
POST /uploadtest.php HTTP/1.1
Authorization: Basic ZmlsZXM6ZmlsZXM=
User-Agent: curl/7.17.1 (x86_64-pc-linux-gnu) libcurl/7.17.1
GnuTLS/2.0.4 zlib/1.2.3
Host: mypage.com
Accept: */*
Content-Length: 205
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------49fb05244a02
is there an option that could make it work?
thanks in advance
Pat
Received on 2008-03-03