Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-14 Thread Francis Daly
On Tue, May 14, 2013 at 10:17:13AM -0400, vilsack wrote: > Francis Daly Wrote: > > On Sun, May 05, 2013 at 07:04:21AM -0400, zakaria wrote: Hi there, > > > location ~ [^/]\.php(/|$) { > > > > Just as another alternative, it is probably possible to use named captures > > in the "location"

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-14 Thread vilsack
Francis Daly Wrote: --- > On Sun, May 05, 2013 at 07:04:21AM -0400, zakaria wrote: > > Francis Daly Wrote: > > Hi there, > > > Thank you for confirm it. > > Its nginx bug #321 http://trac.nginx.org/nginx/ticket/321 > > Ah, good find -- I hadn't

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-07 Thread Francis Daly
On Sun, May 05, 2013 at 07:04:21AM -0400, zakaria wrote: > Francis Daly Wrote: Hi there, > Thank you for confirm it. > Its nginx bug #321 http://trac.nginx.org/nginx/ticket/321 Ah, good find -- I hadn't spotted that it was a "known issue". > location ~ [^/]\.php(/|$) { Just as another

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-05 Thread zakaria
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

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-05 Thread Francis Daly
On Sat, May 04, 2013 at 07:41:43PM -0400, zakaria wrote: > Francis Daly Wrote: Hi there, > So on the friday I rerun the script (to enhanced it) and it didn't work like > it used to. > I swear, I got nginx working perfectly before with PATH_INFO and all. > > To answer your question. The PATH_INFO

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-04 Thread zakaria
B.R. Wrote: --- > It seems that PATH_INFO is sensitive to points being used in URI... > Check the PHP doc about $_SERVER > : > a very interesting example is being provided there. Yes, I

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-04 Thread B.R.
It seems that PATH_INFO is sensitive to points being used in URI... Check the PHP doc about $_SERVER: a very interesting example is being provided there. Ubuntu is much likely not the problem. Since you are a 'good sysadmin', you also tri

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-04 Thread zakaria
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 unexpect

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-04 Thread zakaria
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' => '

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-04 Thread Francis Daly
On Fri, May 03, 2013 at 09:44:14PM -0400, zakaria wrote: Hi there, > I must be missing something obvious here. > I rerun my ubuntu configuration script and suddenly my nginx setup not > working correctly anymore. What output do you expect? And if it not obvious: how does that differ from this o

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-03 Thread Steve Holdoway
Have you added cgi.fix_pathinfo=0 into /etc/php5/fpm/php.ini and restarted php? Steve On Fri, 2013-05-03 at 21:44 -0400, zakaria wrote: > Hi, > > I must be missing something obvious here. > I rerun my ubuntu configuration script and suddenly my nginx setup not > working correctly anymore. > >

Problem with fastcgi_split_path_info on ubuntu precise

2013-05-03 Thread zakaria
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(/|$) {