ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: передача PUT/DELETE на FastCGI


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: передача PUT/DELETE на FastCGI
  • From: Yuriy Taraday <yorik.sar@xxxxxxxxx>
  • Date: Tue, 3 Aug 2010 01:41:34 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=51OdhwGplR5/JxrYzbWIVykPy3WMBlyHiWGfZVLL1fw=; b=lMOvoK1GRPVnTLpTT9J8K4EdBkxVLZ/C1RUvpVSL0ZueRA11LKWQJEG5jr303UiwSD QdUCemIujSFGtTcfDuEgQSi7H03n7eKdxNo3IN4lbtRRxt0K3N+ct5C3v3e3m936Njk3 dm9v59uHwwPz8iiTZ+LEOCmd8C1rywmIXGRQ8=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=dVkP57eBofB1s8EyuSUDL+vNZqwp1g3mZog65I3JO414z66qUlgye5gBTXRPzn1KFf rHJVDAOo7UDnqVNRcN/vje4ZQ5AXqHvGa73zt5fmf3zm1QzOtvXBhJ233JKvswM6T5V4 GR+LJ5OpRMjS4RLBSpU58Zx30jk8cIUxLMnqY=
  • In-reply-to: <i3748t$85n$1@xxxxxxxxxxxxxxx>
  • References: <i3748t$85n$1@xxxxxxxxxxxxxxx>

Кажется, для этого нужен модуль dav.

2010/8/2 Volodymyr Kostyrko <c.kworr@xxxxxxxxx>
Снимите с ручника опять плиз.

При запросе PUT или DELETE в location который ходит к php через FastCGI получаю только 405 Method not allowed. limit_except тоже не помогает...

 location / {
   limit_except GET POST DELETE PUT {
     allow all;
   }
   auth_basic testing;
   auth_basic_user_file /home/etc/htpasswd;
   location ~ .*\.php$ {
     include /usr/local/etc/nginx/fastcgi_params;
     fastcgi_pass unix:/home/www/.fastcgi.php.socket;
     fastcgi_index index.php;
     fastcgi_param SCRIPT_FILENAME /www/app/webroot$fastcgi_script_name;
     fastcgi_param DOCUMENT_ROOT /www;
   }
 }

--
Sphinx of black quartz judge my vow.


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.