ПРОЕКТЫ 


  АРХИВ 


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: POST /handle = 405


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: POST /handle = 405
  • From: Sergey Shepelev <temotor@xxxxxxxxx>
  • Date: Thu, 08 May 2008 15:18:13 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=HuvZJY63815XaM0CaCNjAJvTt1o9gAj7V7Y23hPTWPk=; b=nFESQ8qcl0MGMKTT4q27zI6ljUY4J6ntlDk5jh7LQPF29/Ycpoq9hAI0NdN0nA59gwBgcExPIJLya7LK8iRXF5mZon6caDKFM2Fe3fy0TWlnl0VEa2c6VTlT1dVHWoFO6uhCyYuZ4vpMSoxHzTf0a8lR+R1ymux4zD6wMi+N9Vw=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=VumAFapORq+T0tCnfAqCFbFZf6A03HPtdSy5A2BSVtcau7L7VI1nJy0Q78yMt756EH/IxIl/uDfD96A7mfeHvRkg8sY9kV2P7tJZU/xS0/saJtNKFAMiufs+IbZAc+ZXLsykEAJFZ3qTs823OuLpbZPslAtnRei/4Pm46f+gwI4=
  • In-reply-to: <91c9771b0805080415m36fb5afai7c25161cdf9bc798@xxxxxxxxxxxxxx>
  • References: <4822CAAA.5010706@xxxxxxxxx> <91c9771b0805080415m36fb5afai7c25161cdf9bc798@xxxxxxxxxxxxxx>

                location / {
                        charset utf-8;
                        rewrite ^/$ /list;
                        root /cygdrive/d/projects/mas_ru-feedback;
                        error_page 404 = @proxy_root;
                }
                
                location @proxy_root {
                        proxy_pass http://127.0.0.1:1955;
                }
                
На 1955 слушает Django через CherryPy.

Борис Долгов пишет:
А "location /handle" или "location /handle/"?

8 мая 2008 г. 13:40 пользователь Sergey Shepelev <temotor@xxxxxxxxx> написал:
Почему POST /handle = 405,
 а POST /handle/ = нормальный прокси на бекенд и возврат результата?








 




Copyright © Lexa Software, 1996-2009.