PHP path_info problem

yoel07 at yoel07 at
Thu Jan 28 20:43:13 UTC 2016

Enviado desde Outlook Mobile

De: Francis Daly

Enviado: martes, 26 de enero 5:31 PM

Asunto: Re: PHP path_info problem

Para: nginx at

On Mon, Jan 25, 2016 at 12:32:30PM -0500, Yoel Jiménez Del Valle wrote: Hi there, > I have a web app in php that relays on path_info to processs a request but > i always get a 404 when do > http://localhost/folder/app/app.php/controller/method > nginx always respond 404 any ideas how to solve this and gain access to the > request Which of your location{} blocks did you tell nginx to use to process the request for /folder/app/app.php/controller/method ?

For instance i want yo access to  /final/app/app.PHP/controller/action/ i hace this location un nginx.conf 

Location /final/app{

try_files $uri /app.php$is_args$args;

} but still same 404 im using wt-nmp tryin to move from apache 

 Which of your location{} blocks do you want nginx to use to process that request? > i can acces to > http://localhost/folder/app/app.php but after last p in php extension > anything else show up 404 If you have "location ~ php$", that would match the second request there, but not the first. Perhaps you want "location ~ php" or "location /folder/app/app.php" or something else instead? Good luck with it, 	f -- Francis Daly francis at _______________________________________________ nginx mailing list nginx at 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list