Enviado desde Outlook Mobile



De: Francis Daly

Enviado: martes, 26 de enero 5:31 PM

Asunto: Re: PHP path_info problem

Para: [email protected]



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? http://nginx.org/r/location > 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 [email protected] 
_______________________________________________ nginx mailing list 
[email protected] http://mailman.nginx.org/mailman/listinfo/nginx 

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to