Re[2]: nginx+suexec, PHP и т.п.

Andrew Sitnikov sitnikov at infonet.ee
Fri Mar 2 12:18:54 MSK 2007


Hello Kulikov,

KA>         set             $path_info      "";
KA>         if ($fastcgi_script_name ~ ".php(/.+)$") {
KA>                 set     $path_info      $1;
KA>         }
оно совпадет совсем не там где надо

#>pcretest
PCRE version 6.2 01-Aug-2005

  re> ".php(/.+)$"
data> http://host/folder.php/sub_folder.php/file.php/param.php/param2.php
 0: .php/sub_folder.php/file.php/param.php/param2.php
 1: /sub_folder.php/file.php/param.php/param2.php

 


-- 
Best regards,
 Andrew                            mailto:sitnikov at infonet.ee






More information about the nginx-ru mailing list