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: return



On Thu, Jun 17, 2010 at 02:25:43PM +0400, Sergey Shepelev wrote:

> 2010/6/17 Igor Sysoev <igor@xxxxxxxxx>:
> > On Thu, Jun 17, 2010 at 02:15:22PM +0400, Igor Sysoev wrote:
> >
> >> On Thu, Jun 17, 2010 at 11:07:12AM +0100, Valery Kholodkov wrote:
> >>
> >> > ,      eval:
> >> >
> >> > eval $a {
> >> >   return 200 "blah";
> >> > }
> >>
> >>    ?
> >>
> >> -         rewrite ,
> >>  return  .     .
> >
> >   ݣ 
> >
> > location /old/ {
> >   location ~ ^/old(.+)$ {
> >     return http://site.com$1;
> >   }
> >
> > 
> >
> > location /old/ {
> >   location ~ ^/old(.+)$ {
> >     return 301 http://site.com$1;
> >   }
> >
> >        rewrite,    !
> >
> 
>     return   ,  ,     rewrite ^     ?
>    ,  ,  :)

   .


-- 
 
http://sysoev.ru

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


 




Copyright © Lexa Software, 1996-2009.