nginx, ispconfig & codeigniter - remove index.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: nginx, ispconfig & codeigniter - remove index.php (/showthread.php?tid=59417) |
nginx, ispconfig & codeigniter - remove index.php - El Forum - 10-03-2013 [eluser]ZioN[/eluser] Hi, I am developing local with Apache with mod_rewrite. But my live server runs nginx with ispconfig. I'm having a hard time making my website work. The first part works, I can access the site and it works (www.DOMAIN.com/SUBDOMAIN). But as soon as I want to access a controller it shows a 404. I changed base_url after uploading it. I modified uri_protocol aswel Code: $config['uri_protocol'] = 'REQUEST_URI'; Is anyone with experience with nginx + ispconfig able to help me on this? Edit: The current .htaccess I use with apache in order to remove index.php: Code: <IfModule mod_rewrite.c> nginx, ispconfig & codeigniter - remove index.php - El Forum - 10-03-2013 [eluser]ZioN[/eluser] Update: I narrowed the issue down to this: I can access my controllers/pages using index.php?/CONTROLLER but index.php/CONTROLLER does not work. |