Are these rules ok?

Igor Clark lists at ruby-forum.com
Mon Dec 29 13:07:17 MSK 2008


Igor Sysoev wrote:

> OK, then I will plan to simplify PATH_INFO extraction some like this:
> 
>        fastcgi_path_info   ^(.+\.php)(/.+);
> 
> the directive will place 1st capture inside $fastcgi_script_name
> and second one inside $fastcgi_path_info.
> 
> Other name variants:
> 
>        fastcgi_separate_path_info
>        fastcgi_split_path_info
> 
> What name is better in English ?

Hi, this will be useful, thanks Igor.
I think fastcgi_split_path_info is best.

Cheers
Igor Clark
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list