rewrite rule
Chavelle Vincent
lists at ruby-forum.com
Sat Jul 19 16:53:57 MSD 2008
There has been a change of behaviour on the rewrite rule between version
0.7.1 and higher... I don't know if it's a bug or a correction !
You can view a configuration type here : http://pastebin.com/f49df278c
And the beginning of the debug file : http://pastebin.com/f547dc485
The end:
Version 0.7.1 (good behaviour)
2008/07/19 14:17:07 [debug] 31892#0: *1 http script regex:
"^/fallback(.*)$"
2008/07/19 14:17:07 [debug] 31892#0: *1 http script capture:
"/users/test"
2008/07/19 14:17:07 [debug] 31892#0: *1 http script regex end
2008/07/19 14:17:07 [debug] 31892#0: *1 post rewrite phase: 3
2008/07/19 14:17:07 [debug] 31892#0: *1 uri changes: 10
2008/07/19 14:17:07 [debug] 31892#0: *1 using configuration "/fallback/"
2008/07/19 14:17:07 [debug] 31892#0: *1 http cl:-1 max:1048576
2008/07/19 14:17:07 [debug] 31892#0: *1 generic phase: 2
Version 0.7.6
2008/07/19 14:24:02 [debug] 32178#0: *1 http script regex:
"^/fallback(.*)$"
2008/07/19 14:24:02 [debug] 32178#0: *1 http script capture:
"/users/test"
2008/07/19 14:24:02 [debug] 32178#0: *1 http script regex end
2008/07/19 14:24:02 [debug] 32178#0: *1 post rewrite phase: 3
2008/07/19 14:24:02 [debug] 32178#0: *1 uri changes: 10
2008/07/19 14:24:02 [debug] 32178#0: *1 test location: "/"
2008/07/19 14:24:02 [debug] 32178#0: *1 test location: "fallback/"
2008/07/19 14:24:02 [debug] 32178#0: *1 test location: "/dynamic/"
2008/07/19 14:24:02 [debug] 32178#0: *1 using configuration "/"
2008/07/19 14:24:02 [debug] 32178#0: *1 http cl:-1 max:1048576
2008/07/19 14:24:02 [debug] 32178#0: *1 generic phase: 2
It should not recheck the locations...
Thanks
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list