HTTP FastCGI directives
fastcgi_split_path_info directive
Location; two captures select script name and path suffix. Review existence and routing separately.
Formal Syntax & Structure
nginx syntaxnginx
fastcgi_split_path_info regex;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| regex | regular expression with two captures | First capture becomes script-name, second becomes path-info. Validate the script separately. |
Working Example
Example Snippetnginx
fastcgi_split_path_info ^(/index\.php)(/.*)$;