rewrite or internal redirection cycle
    Igor Sysoev 
    is at rambler-co.ru
       
    Sun Jul 29 13:50:51 MSD 2007
    
    
  
On Sun, Jul 29, 2007 at 11:45:21AM +0200, Roxis wrote:
> On Sunday 29 July 2007, Igor Sysoev wrote:
> > > rewrite  ^(/download/.*)/media/(.*)\..*$  $1/mp3/$2.mp3  last;
> > > rewrite  ^(/download/.*)/audio/(.*)\..*$  $1/mp3/$2.ra   last;
> > > return   403;
> >
> > The "last" stops code executing. If you omit "last", you will get 403.
> 
> i'm getting 403 on server level + last or break, and location + last
> only location + break works for me
Does your request matche any regex ?
-- 
Igor Sysoev
http://sysoev.ru/en/
    
    
More information about the nginx
mailing list