![]() |
CodeIgniter NGINX Rewrite Rules - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: CodeIgniter NGINX Rewrite Rules (/showthread.php?tid=53101) |
CodeIgniter NGINX Rewrite Rules - El Forum - 07-11-2012 [eluser]Cinghius[/eluser] Hi, anyone can help me, to configure correctly a nginx server to solve rewrite url problem's. I find this: http://www.farinspace.com/codeigniter-nginx-rewrite-rules/ but i dont know the mode to configure it. Thank you so much. CodeIgniter NGINX Rewrite Rules - El Forum - 07-11-2012 [eluser]Jason Hamilton-Mascioli[/eluser] What problem do you have? Can you paste the rewrite rule you have tried and describe the intended result. CodeIgniter NGINX Rewrite Rules - El Forum - 07-11-2012 [eluser]Cinghius[/eluser] I apologize if I have not updated the post. Meanwhile, I paste a link that I found very useful: http://wiki.nginx.org/Codeigniter I solved the problem by simply changing, from $config['uri_protocol' = 'PATH_INFO'; to $config['uri_protocol'] = 'REQUEST_URI'; CodeIgniter NGINX Rewrite Rules - El Forum - 07-11-2012 [eluser]Jason Hamilton-Mascioli[/eluser] Very good. I tend to look at the Pyro CMS docs as well for NGINX + PHP-FPM install as its the same for the usual CI install. http://docs.pyrocms.com/2.1/manual/index.php/general/getting-started/alternate-server-environments/nginx-with-php-fpm |