13 messages in ru.sysoev.nginxRe: Redirect loop / too many redirects
FromSent OnAttachments
TinyApps.OrgJul 15, 2009 9:25 am 
Gena MakhomedJul 15, 2009 10:02 am 
TinyApps.OrgJul 15, 2009 10:26 am 
Gena MakhomedJul 15, 2009 11:06 am 
Marcus ClyneJul 15, 2009 12:13 pm 
Maxim DouninJul 15, 2009 12:37 pm 
Marcus ClyneJul 15, 2009 3:27 pm 
Marcus ClyneJul 15, 2009 4:25 pm 
Maxim DouninJul 15, 2009 6:20 pm 
TinyApps.OrgJul 16, 2009 12:45 am 
Marcus ClyneJul 16, 2009 5:52 am 
AMP AdminAug 14, 2009 9:59 pm 
Cliff WellsAug 15, 2009 10:38 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: Redirect loop / too many redirectsActions...
From:Gena Makhomed (gm@csdoc.com)
Date:Jul 15, 2009 11:06:29 am
List:ru.sysoev.nginx

On Wednesday, July 15, 2009 at 20:26:35, TinyApps.Org wrote:

TO> Just adding the equal sign after "location" did the trick! TO> One last question: is the caret after "rewrite" required?

location = /weblog/index.rss { rewrite ^ /weblog/index.rss20 permanent; }

caret is regexp. ( ^ Match the beginning of the line )

http://perldoc.perl.org/perlre.html#Regular-Expressions

yes, regexp here required by rewrite syntax:

rewrite regex replacement flag

http://wiki.nginx.org/NginxHttpRewriteModule#rewrite