Welcome! Log In Create A New Profile

Advanced

Re: php_info - fastcgi_split_path_info - Not does not work

Francis Daly
October 21, 2011 09:16AM
On Fri, Oct 21, 2011 at 08:12:41AM -0400, edisoti wrote:

Hi there,

> I am having trouble setting the PATH_INFO
>
> I want accessing thus:
> http://www.examples.com/test.php/images/test/000001

The "location" here is /test.php/images/test/000001

> location /nginx_status {

It doesn't match that one.

> location ~ ^.+\.php$ {

It doesn't match that one.

So fastcgi_split_path_info is not used.

As a short-term test, to confirm that the directives act as you expect,
change this location definition to

location ~ php

Then when you are happy that you understand what everything is doing,
change it to something that is right for your environment.

(Perhaps some variation on "\.php($|/)" will be right for you; or perhaps
nesting it inside a non-regex location.)

Good luck,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

php_info - fastcgi_split_path_info - Not does not work

edisoti October 20, 2011 02:37PM

Re: php_info - fastcgi_split_path_info - Not does not work

Francis Daly October 21, 2011 09:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 154
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready