using a variable in client_body_temp_path

Daniel daniel at telesat.co.jp
Tue Aug 4 12:43:13 MSD 2009


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

-- 
*********************************************************
仲宗根 ダニエル
マリーン・システム・アソシエイツ株式会社
〒900-0036 沖縄県浦添市牧港5丁目2番1号
沖縄電力本店別館6F
Tel : 098-942-5575
Fax : 098-942-5574
URL : www.telesat.co.jp
      www.netfan.ne.jp
Mail : daniel at 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 at telesat.co.jp
*********************************************************






More information about the nginx mailing list