nginx/codeigniter keeps using the welcome controller as default - 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/codeigniter keeps using the welcome controller as default (/showthread.php?tid=39715) |
nginx/codeigniter keeps using the welcome controller as default - El Forum - 03-18-2011 [eluser]Unknown[/eluser] I changed the default controller in application/config/routes.php and my site keeps showing me the welcome page. anyone know how to fix this? webserver: nginx 0.9.5 php: php-fpm (5.3.2-1ubuntu4.7ppa5~lucid1) codeigniter: v2.0.1 $config['uri_protocol'] = 'AUTO'; //I also tried REQUEST_URI and same results vhost config: Code: server { nginx/codeigniter keeps using the welcome controller as default - El Forum - 03-18-2011 [eluser]Unknown[/eluser] Actually, things seemed to work after i did a php-fpm restart. Hmmm... might be APC related. I'll look into this more and share. |