support SCRIPT_FILENAME
commitb69b36096d51a53520c53f15fbd00cc13b7b6f07
authorPaul Tarjan <ptarjan@fb.com>
Thu, 9 Jan 2014 07:15:57 +0000 (8 23:15 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 28 Jan 2014 17:17:53 +0000 (28 09:17 -0800)
treedc21c39582a25470fe4501bbe3a695fe799bb944
parenta55228796d337c1f4f9722e6d1a1c6e1792c93a4
support SCRIPT_FILENAME

Some fastcgi documentation doesn't tell you to pass all the params, only a handful. Even the official docs say this http://wiki.nginx.org/HttpFastcgiModule I think we should support the mode where we don't know the document root, jsut the absolute filename. I've already had to help 2 people in github with this issue so I think it is prevelant

Reviewed By: @scannell

Differential Revision: D1125309
hphp/runtime/server/fastcgi/fastcgi-transport.cpp
hphp/runtime/server/fastcgi/fastcgi-transport.h
hphp/runtime/server/request-uri.cpp
hphp/runtime/server/transport.h