Welcome! Log In Create A New Profile

Advanced

Re: upload module forbidden

Francis Daly
April 05, 2011 01:34PM
On Tue, Apr 05, 2011 at 09:43:58AM -0400, vetri wrote:

Hi there,

> i have written my nginx configuration above . that is the
> configuration i am using to upload file .

Maybe that is where it became unclear: I wrote "code"; you read
"configuration".

Please read the previous mail again, but where I say "your code", I mean
something like "the backend url".

> my goal is to save the file in the real name (or) pass the
> temporary name to backend server as query .

What url on the backend server should nginx send the POST form data to?

> can i do that?

Yes. "upload_pass" must be set to get the request to the backend server.

Aside: to upload a file, you do not need the upload module. You can
just use stock nginx. The upload module should make the backend code
that handles the form data a bit easier. If it doesn't do that, you can
omit the upload module and just handle the whole thing in your own code.

Good luck with it,

f
--
Francis Daly francis@daoine.org

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

upload module forbidden

vetri April 05, 2011 02:17AM

Re: upload module forbidden

Francis Daly April 05, 2011 05:02AM

Re: upload module forbidden

vetri April 05, 2011 05:08AM

Re: upload module forbidden

Francis Daly April 05, 2011 05:42AM

Re: upload module forbidden

Alexander Kunz April 05, 2011 05:48AM

Re: upload module forbidden

vetri April 05, 2011 06:47AM

Re: upload module forbidden

Francis Daly April 05, 2011 06:56AM

Re: upload module forbidden

Alexander Kunz April 05, 2011 07:52AM

Re: upload module forbidden

vetri April 05, 2011 09:43AM

Re: upload module forbidden

Alexander Kunz April 05, 2011 10:02AM

Re: upload module forbidden

Francis Daly April 05, 2011 01:34PM

Re: upload module forbidden

vetri April 06, 2011 12:09AM

Re: upload module forbidden

Francis Daly April 06, 2011 08:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
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