Redirect loop / too many redirects

Gena Makhomed gmm at csdoc.com
Wed Jul 15 21:02:27 MSD 2009


On Wednesday, July 15, 2009 at 19:25:56, TinyApps.Org wrote:

TO> location /weblog/index.rss {
TO>     rewrite /weblog/index.rss /weblog/index.rss20 permanent;
TO> }

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

TO> Firefox: Redirect Loop - Firefox has detected that the server is
TO> redirecting the request for this address in a way that will never  
TO> complete.

TO> All other redirect rules work - any idea why this one would fail?

url "/weblog/index.rss20" was matched by location "/weblog/index.rss"

location syntax: http://wiki.nginx.org/NginxHttpCoreModule#location

-- 
Best regards,
 Gena






More information about the nginx mailing list