rewrite or internal redirection cycle
is at rambler-co.ru
Sun Jul 29 14:14:09 MSD 2007
On Sun, Jul 29, 2007 at 11:53:46AM +0200, Roxis wrote:
> On Sunday 29 July 2007, Igor Sysoev wrote:
> > 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 ?
> first one
Could you show debug log ?
More information about the nginx