Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
upload module не передает в скри пт post параметры
- To: nginx-ru@xxxxxxxxx
- Subject: upload module не передает в скри пт post параметры
- From: "the_buddha" <nginx-forum@xxxxxxxx>
- Date: Mon, 21 Feb 2011 15:52:36 -0500
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=HDd4N8YsI9aBz40x/6AKJXfUI6W0zItmp9ngW2m1Des=; b=bZSRjYTHd8gsx0QSXaKptUe0zAycVWBxt50VtoqLIyg8vVaCw5GcvjIS0GbnBd7saSbU23EwvEdfdUsuEK6PLGnRokjwev4Ubna65fKiXkDWfc4/muj1ltNAN5UWsQD1;
Всем - привет:) Помогите разобраться с
проблемой в upload_module. Я делаю POST на
аплоад модуль, в посте кроме файлов
есть еще просто текстовый поля - но в
конечном итоге в $_POST только переменные
относящиеся к аплоаду файлов - а
остальных моих переменных нет - в чем
может быть дело? вот простыня
настройка:
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
/var/www/htdocs$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
include fastcgi_params;
}
location /upload {
upload_pass @upload_end_point;
upload_pass_args on;
upload_tame_arrays on;
upload_store /var/www/htdocs/temp;
upload_store_access user:rw group:rw all:r;
# Set specified fields in request body
upload_set_form_field $upload_field_name.name
"$upload_file_name";
upload_set_form_field $upload_field_name.content_type
"$upload_content_type";
upload_set_form_field $upload_field_name.path
"$upload_tmp_path";
# Inform backend about hash and size of a file
upload_aggregate_form_field "${upload_field_name}_md5"
$upload_file_md5;
upload_aggregate_form_field "${upload_field_name}_size"
$upload_file_size;
upload_cleanup 400 404 499 500-505;
track_uploads proxied 70s;
}
location @upload_end_point {
rewrite ^(.*)$ /u.php last;
}
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,177317,177317#msg-177317
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|