ПРОЕКТЫ 


  АРХИВ 


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]

redirect не работает


  • To: nginx-ru@xxxxxxxxx
  • Subject: redirect не работает
  • From: Konstantin Svist <fry.kun@xxxxxxxxx>
  • Date: Thu, 14 Jul 2011 15:51:46 -0700
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=JOdLFz6BzMVT7i2GfU+YM0+HkrZDYlbyQMDIyr990Wg=; b=HIheGkwQD4+F8ADp5lEOOrgvKhRU9SjvSry+LRWetnj9hyLHr8H4VjEazX1aRzG8kv czbU3MNXBZBBlhhMoSfAQ9v5veYB+JXAJ0b4XE90aZjU/VuXhXoRQO72jTbW0N46LGFs xUEm5nPO6iJhQNPea20zy6NEnF1Zza8+TtzAE=

Конфиг:
rewrite ^(.*)$ "$arg_r?" redirect;

Запрос:
curl -v 'http://localhost/redir?r=http%3A%2F%2Fwww.example.com%2F%3Fa%3D1%26b%3D2%26c%3D3'

Ответ:
Location: http://www.example.com/?a%3D1%26b%3D2%26c%3D3

Так и должно быть? Или баг?



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


 




Copyright © Lexa Software, 1996-2009.