ПРОЕКТЫ 


  АРХИВ 


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: rewrite модуль и переменная, подскажите, почему не работает такая конструкция?


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: rewrite модуль и переменная, подскажите, почему не работает такая конструкция?
  • From: Roxis <roxis@xxxxxxx>
  • Date: Tue, 16 Oct 2007 11:27:01 +0200
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; bh=jMGu9iwMM3hft4wZQKy0SZR33n5Rb098Ul9XEkoqi/k=; b=PPQ3aKujoo4ba5eZlVRRkrwWFllUgE4G/iy6oF5AqZPwrLe9mPFPW3/9tWIFGkMsNW44HSMDCrfxSSN3MbpLdagKUxyN+lGCtQHS5Lt9zlWKhbjN1VUZb3bktoh9JVfG4P9+qfYvilCLWtk3DCV+9+TH4ILtDTmAflQwsyslWI0=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=ju7P3+3yNy3t+IaGSyl1KGk8QC0o0fMprBFX7rlDbuF4cwMFdmicHAWFe1Q7/F6LQ+w6BsNSyu8AVpk/c56hlNyFKOr6OqyxSFfJqXg/7QtBpqdDqxLn1rlkhNPxFFWggrYRmPi/y+W5ISYGhU/p0HKyD0SM8Bx0o5ntRU5oVWU=
  • In-reply-to: <1508856753.20071016132132@xxxxxxxxxx>
  • References: <1508856753.20071016132132@xxxxxxxxxx>

On Tuesday 16 October 2007, Влад wrote:
> Здравствуйте, nginx-ru.
>
>   root /www/site.ru;
>   index index.html index.php;
>
>   set $g_root aaa;
>   rewrite $g_root /main.php;
>
>   Если заменить на "rewrite aaa /main.php" - все отрабатывает.

переменные допустимы только в замене


 




Copyright © Lexa Software, 1996-2009.