Francis Daly Wrote: ------------------------------------------------------- > Hi there, > > And the result with cgi.fix_pathinfo = 1 (the default) > As an aside -- I find that "cgi.fix_pathinfo = 1" removes the "do what > I say" part of php configuration, so I run without it. But I don't > believe that that's relevant here. cgi.fix_pathinfo=0 givesby zakaria - Nginx Mailing List - English
B.R. Wrote: ------------------------------------------------------- > It seems that PATH_INFO is sensitive to points being used in URI... > Check the PHP doc about $_SERVER > http://www.php.net/manual/en/reserved.variables.server.php: > a very interesting example is being provided there. Yes, I knew that. If you read from the beginning of the thread, the request is from /testby zakaria - Nginx Mailing List - English
Francis Daly Wrote: ------------------------------------------------------- > On Fri, May 03, 2013 at 09:44:14PM -0400, zakaria wrote: > Hi there, > What output do you expect? > And if it not obvious: how does that differ from this output? > I *think* you're reporting that PATH_INFO is unexpectedly empty > in $_SERVER, in which case adding "fastcgi_param TEST_by zakaria - Nginx Mailing List - English
Not much different, now even PHP_SELF not set! ---------------------------------------------------------------------- array ( 'USER' => 'www-data', 'HOME' => '/var/www', 'FCGI_ROLE' => 'RESPONDER', 'PATH_INFO' => '', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'CONTENT_TYPE' => '', 'CONTENT_LENGTH' => '', 'SCRIPT_FILENAME' => '/var/www/tby zakaria - Nginx Mailing List - English
Hi, I must be missing something obvious here. I rerun my ubuntu configuration script and suddenly my nginx setup not working correctly anymore. Here my relevant nginx config: ---------------------------------------------------------------------- location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_param PATH_INFO $fastcgiby zakaria - Nginx Mailing List - English