TE_ADDR in path_info

Remo Laubacher remo.laubacher at ortic.com
Fri Sep 5 19:04:51 MSD 2008


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
Any ideas?

I'm using nginx 0.6.32 on debian 4, so far without a single problem.

Thanks a lot!

More information about the nginx mailing list