Problem with fastcgi_split_path_info on ubuntu precise

Francis Daly francis at daoine.org
Tue May 7 20:36:17 UTC 2013


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 alternative, it is probably possible to use named captures
in the "location" regex and avoid using fastcgi_split_path_info at all --
with everything up to and including ".php" being used as the script name,
and something like "(/.*)?$" being the path info.

But what you have here already looks like it should be working, so can
probably be left alone.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list