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: v1.0.4, bugreport: location directive


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: v1.0.4, bugreport: location directive
  • From: Alexander Kochetov <kochetov.alexander@xxxxxxxxx>
  • Date: Thu, 16 Jun 2011 20:02:38 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=90mB3vie5Zih+43SVi4MPnAtAaZxnvbSTymNjiuHd/U=; b=KzRrp2TOpNLwPL14nhXt2Yy6yXurueG+wPdkAWiA+ej4UuItF3MESvBNgSYtgE1167 hqEi6zfOzoL5fEbMTVYtQggGbgzJztV6831JQ137aR7Furt+hGPTviAto9IkmqZFH6JJ ZUWDnEK1spOuUq0jF7i6+nE9gXKeN+tQ7C05c=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=nEMn17NOuzKVfRLCjCUMCeIBUIuXfshsGi+8DXSQJ7gysT2KBwVUEBBiBw/Wmb7vMr 73n8OTJozpMxB+jJt5hckgcNDe31MHAEMmm1aM4bf02ybSkDcCBSkjFIHNMfLceIM1jZ hIkX8r1zCS8XGzTNZJCqdN0VPP18oeOKZhueg=
  • In-reply-to: <241c8f5442a76bae65c9f7ec5b98e44a.NginxMailingListRussian@xxxxxxxxxxxxxxx>
  • References: <241c8f5442a76bae65c9f7ec5b98e44a.NginxMailingListRussian@xxxxxxxxxxxxxxx>

16  2011. 19:36  ruv <nginx-forum@xxxxxxxx> :
>   
> (  )
>
> index index.html ;
> location = / {
> }
> location / {
>  rewrite ^ / redirect ;
> }

  /       /index.html
     location'   location / {


> location / {
>  rewrite ^ / redirect ;
> }
> location /test {
>  rewrite ^ /unavailable.gif ;
> }
>
>   "/test"   

  ,     location,  rewrite, 
    location'
 /unavailable.gif    .
    
rewrite ^ /unavailable.gif  break;
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.