On Tue, Apr 05, 2011 at 02:17:30AM -0400, vetri wrote:
there seem to be lots of mails reporting lots of problems with your
configuration. Presumably something is not being done right, or you are
finding something unclear about the documentation.
To step back a bit:
in order for you to upload a file via http, you must write a html form
which includes at least one “” field, which the client
gets; and you must write an upload-form-handler which nginx has access
either via proxy_pass to another http server, or via fastcgi_pass to a
fastcgi server, or via one of the other “dynamic” mechanisms (scgi_pass,
You seem to have written the form, and sent it to the client. That’s
I don’t see any obvious evidence that you have written the form-handler.
Have you? And if so, how does nginx send the request to your handler? As
in, what url does nginx access, and by what means (proxy_pass,
/usr/local/nginx/html/upload/ is forbidden ?
if someone knows plz tell me .
I guess that you are trying to POST to a url like /directory, and are
being redirected to /directory/, and then you try to GET /directory/
which has not been configured to e allowed.
But that’s pretty much just a symptom of the broken setup, and so not
The important bit is: where is your form handler?
Francis D. [email protected]