Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter NGINX Rewrite Rules
#1

[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-ng...ite-rules/
but i dont know the mode to configure it.

Thank you so much.

#2

[eluser]Jason Hamilton-Mascioli[/eluser]
What problem do you have? Can you paste the rewrite rule you have tried and describe the intended result.
#3

[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';
#4

[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...th-php-fpm




Theme © iAndrew 2016 - Forum software by © MyBB