TE_ADDR in path_info

Igor Sysoev is at rambler-co.ru
Sun Sep 7 11:58:54 MSD 2008


On Fri, Sep 05, 2008 at 05:04:51PM +0200, Remo Laubacher wrote:

> I'm using this code to set PATH_INFO:
> 
> set  $script     $uri;
> set  $path_info  "";
> 
> if ($uri ~ "^(.+\.php)(/.+)") {
> 	set  $script     $1;
>       set  $path_info  $2;
> }
> 
> Mostly this works fine but in some cases $_SERVER['PATH_INFO'] returns
> TE_ADDR. 
> Any ideas?
> 
> I'm using nginx 0.6.32 on debian 4, so far without a single problem.

Could you add $path_info variable to access_log format for this location
to see whether this is nginx or PHP bug ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list