Redirect loop / too many redirects

Gena Makhomed gmm at
Wed Jul 15 22:06:52 MSD 2009

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 )

yes, regexp here required by rewrite syntax:

    rewrite regex replacement flag

Best regards,

More information about the nginx mailing list