Welcome! Log In Create A New Profile

Advanced

fastcgi_split_path_info capture group bug?

January 20, 2011 05:20PM
I'm running nginx v0.8.54 (latest stable), and I'm having issues with fastcgi_split_path_info passing the query parameters into PATH_INFO

e.g., http://example.com/index.php/foo/bar/?id=1 breaks is passed to fcgi as
[code]
SCRIPT_FILENAME = /var/www/index.php (good)
PATH_INFO = /foo/bar/?id=1 (bad)
[/code]

I've defined the split in my config as:
[code]
fastcgi_split_path_info ^(.+\.php)(.*)\??$;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
[/code]

The second capture group should only grab "/foo/bar/", am I doing something obviously wrong here?
Subject Author Posted

fastcgi_split_path_info capture group bug?

uid_b January 20, 2011 05:20PM

Re: fastcgi_split_path_info capture group bug?

uid_b January 20, 2011 05:34PM

Re: fastcgi_split_path_info capture group bug?

uid_b January 20, 2011 06:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
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