Problems with fastcgi php migration

Ian M. Evans ianevans at digitalhit.com
Thu Mar 13 23:31:35 MSK 2008


I've been poring over the debug logs after trying test cases. I don't 
know if I found anything interesting here, but thought I'd pass it on.

Here's one that worked, the /galleries in root:

24254#0: *49095 http request line: "GET /galleries/29/1/525 HTTP/1.1"
24254#0: *49095 http uri: "/galleries/29/1/525"
24254#0: *49095 http args: ""
24254#0: *49095 http exten: ""
24254#0: *49095 event timer del: 15: 2848432589
24254#0: *49095 generic phase: 0
24254#0: *49095 find location for "/galleries/29/1/525"
24254#0: *49095 find location: "/"
24254#0: *49095 find location: ~ "\.(shtml|php)$"
24254#0: *49095 find location: ~ 
"^/(testgalleries|galleries|poll|news|photos)(/|$)"
24254#0: *49095 using configuration 
"^/(testgalleries|galleries|poll|news|photos)(/|$)"
24254#0: *49095 http cl:-1 max:1048576
24254#0: *49095 generic phase: 2
24254#0: *49095 http script complex value
24254#0: *49095 http script var: "/galleries/29/1/525"
24254#0: *49095 http script set var
24254#0: *49095 http script value: ""
24254#0: *49095 http script set var
24254#0: *49095 http script var
24254#0: *49095 http script var: "/galleries/29/1/525"
24254#0: *49095 http script regex: "^(/[^/]+)(/.*)"
24254#0: *49095 http script if
24254#0: *49095 http script complex value
24254#0: *49095 http script capture: "/galleries"
24254#0: *49095 http script set var
24254#0: *49095 http script complex value
24254#0: *49095 http script capture: "/29/1/525"


And here's one that failed, the php file photos two down in a subdir.
The one major difference: It has a http script copy: "/ MSIE " before 
the script capture that the working debug didn't have...is that anything?

24255#0: *49353 http request line: "GET /academy/80/photos/106 HTTP/1.1"
24255#0: *49353 http uri: "/academy/80/photos/106"
24255#0: *49353 http args: ""
24255#0: *49353 http exten: ""
24255#0: *49353 event timer del: 12: 2848524365
24255#0: *49353 generic phase: 0
24255#0: *49353 find location for "/academy/80/photos/106"
24255#0: *49353 find location: "/"
24255#0: *49353 find location: ~ "\.(shtml|php)$"
24255#0: *49353 find location: ~ 
"^/(testgalleries|galleries|poll|news|photos)(/|$)"
24255#0: *49353 find location: ~ 
"/(testgalleries|galleries|poll|news|photos|test)(/|$)"
24255#0: *49353 using configuration 
"/(testgalleries|galleries|poll|news|photos|test)(/|$)"
24255#0: *49353 http cl:-1 max:1048576
24255#0: *49353 generic phase: 2
24255#0: *49353 http script complex value
24255#0: *49353 http script var: "/academy/80/photos/106"
24255#0: *49353 http script set var
24255#0: *49353 http script value: ""
24255#0: *49353 http script set var
24255#0: *49353 http script var
24255#0: *49353 http script var: "/academy/80/photos/106"
24255#0: *49353 http script regex: 
"^/(?:.+/)?(testgalleries|galleries|poll|news|photos|test)(/.*)"
24255#0: *49353 http script if
24255#0: *49353 http script complex value
24255#0: *49353 http script copy: "/ MSIE "

^-- The line above doesn't appear in the working debug.

24255#0: *49353 http script capture: "/photos"
24255#0: *49353 http script set var
24255#0: *49353 http script complex value
24255#0: *49353 http script capture: "/106"





More information about the nginx mailing list