Welcome! Log In Create A New Profile

Advanced

using a variable in client_body_temp_path

Daniel
August 04, 2009 04:43AM
Hi

I'm trying to use a variable to set client_body_temp_path but doesn't work.
the conf I have:

location ~ "\/dev(.*)\/" {
root /var/mogdata/;
dav_methods put delete mkcol copy move;
dav_access user:rw group:rw all:r;
autoindex on;
autoindex_exact_size off;
set $tmppath dev$1/tmp;

client_body_temp_path /var/mogdata/$tmppath;
create_full_put_path on;
}

but when the file is uploaded the temporally file is in
"/var/mogdata/$tmppath" with should be "/var/mogdata/dev2/tmp".
Is there anyway to do it?.

Thanks in advance ,

Tuqui

--
*********************************************************
$BCg=!:,(B $B%@%K%(%k(B
$B%^%j!<%s!&%7%9%F%`!&%"%=%7%(%$%D3t<02q<R(B
$B")(B900-0036 $B2-Fl8)1:E:;TKR9A(B5$BCzL\(B2$BHV(B1$B9f(B
$B2-FlEENOK\E9JL4[(B6F
Tel : 098-942-5575
Fax : 098-942-5574
URL : www.telesat.co.jp
www.netfan.ne.jp
Mail : daniel@telesat.co.jp
*********************************************************
Daniel Nakasone
Marine System Associates, Inc.
Address : 5-2-1 Makiminato Annex 6F
Urasoe City,
Okinawa Japan 900-0036
Tel : +81-98-942-5575
Fax : +81-98-942-5574
URL : www.telesat.co.jp
www.netfan.ne.jp
Mail : daniel@telesat.co.jp
*********************************************************
Subject Author Posted

using a variable in client_body_temp_path

Daniel August 04, 2009 04:43AM

Re: using a variable in client_body_temp_path

Maxim Dounin August 06, 2009 04:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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