5

NGinx rewrite rules and post parameters

view full story
linux-howto

http://serverfault.com – I have a website, using CodeIgniter, and running under NGinx. I used these rewrite rules to cleanup the URL, and remove the index.php from the URL. Unfortunately, I have a problem with AJAX queries which send POST arguments to the controller, as the controller receives no argument. Using Firebug Lite, I can see that I give the correct POST parameters to the controller, but when I print them in the controller, nothing is printed. I guess it is from the rewrite rules, which don't seem to pass the parameters along the URL, but I don't know how to fix that. Would anyone have an idea? Here ar (HowTos)