ПРОЕКТЫ 


  АРХИВ 


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: Проверка $uri на валиднос ть


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Проверка $uri на валиднос ть
  • From: "sourse" <nginx-forum@xxxxxxxx>
  • Date: Wed, 21 Dec 2011 07:19:31 -0500
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=xfHkmjqBxliTr84W6lsPqgKOxVDeuQ8Lm1cWVUsJpOo=; b=Ol8OqLxoxc4Ckez7XIsKNhmkG8ElK3F3qwszndHAVR3OcS6Md9LVmzmoNwbP8yMiC1Ou6GBsJCDTXdJXMxnrRpOr+59vYF8HVA+BUDA9HsQDmpH3OnoiBf4jfZArDFyu;
  • In-reply-to: <201112211601.59019.ne@xxxxxxxx>
  • References: <201112211601.59019.ne@xxxxxxxx>

Валентин Бартенев Wrote:

> 
> Лучше использовать $is_args.
> 
> --
> Валентин Бартенев
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

 if ($is_args)  {return 301  http://$server_name$uri;}

Не работает, т.к. не задуманно

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,220339,220355#msg-220355

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


 




Copyright © Lexa Software, 1996-2009.