nginx + php-fpm "modern configuration way"

Edho Arief edho at myconan.net
Tue Apr 3 08:51:30 UTC 2012


2012/4/3 Grégory Pakosz <gpakosz at yahoo.fr>:
> However, I often see the following directives being used, how
> important/useful are they?
>
> fastcgi_split_path_info ^(.+\.php)(/.+)$;
> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
> fastcgi_param SCRIPT_NAME $fastcgi_script_name;
>

Those are to handle urls like www.example.com/index.php/some/para/meters.



More information about the nginx mailing list