13 messages in ru.sysoev.nginxRe: rewrite or internal redirection c...
FromSent OnAttachments
Remo LaubacherJul 29, 2007 1:45 am 
RoxisJul 29, 2007 1:55 am 
Remo LaubacherJul 29, 2007 2:03 am 
Igor SysoevJul 29, 2007 2:28 am 
Igor SysoevJul 29, 2007 2:29 am 
RoxisJul 29, 2007 2:44 am 
Igor SysoevJul 29, 2007 2:50 am 
RoxisJul 29, 2007 2:53 am 
Igor SysoevJul 29, 2007 3:13 am 
RoxisJul 29, 2007 3:25 am.gz
Igor SysoevJul 29, 2007 3:32 am 
RoxisJul 29, 2007 3:49 am 
Igor SysoevJul 29, 2007 3:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: rewrite or internal redirection cycleActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jul 29, 2007 3:13:46 am
List:ru.sysoev.nginx

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 ?