Site is not running due to redirect mode of codeigniter - 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: Site is not running due to redirect mode of codeigniter (/showthread.php?tid=26753) |
Site is not running due to redirect mode of codeigniter - El Forum - 01-22-2010 [eluser]MianUsman[/eluser] Hi, i m working on a codeigniter and my site is not working without writing index.php with URL and also it only shows default controller with index.php and it didn't run any other controller with OR without index.php e.g. www.mysitename.com/index.php it show default controller www.mysitename.com it show me the 404 page of codeigniter. www.mysitename.com/anycontroller it show me the 404 page of codeigniter. www.mysitename.com/index.php/mycontroller it show me the 404 page of codeigniter. please help me out. Thanks in Advanvce Usman Abdul Razzaq Site is not running due to redirect mode of codeigniter - El Forum - 01-22-2010 [eluser]Mat-Moo[/eluser] Have you setup a .htaccess file correctly? http://ellislab.com/codeigniter/user-guide/general/urls.html Site is not running due to redirect mode of codeigniter - El Forum - 01-22-2010 [eluser]MianUsman[/eluser] Hi, i have setup htaccess correctly same as Code: RewriteEngine on but its not making any difference in this situation. Please help Thanks In advance Usman Abdul Razzaq Site is not running due to redirect mode of codeigniter - El Forum - 01-22-2010 [eluser]Mat-Moo[/eluser] try Code: Options FollowSymLinks Site is not running due to redirect mode of codeigniter - El Forum - 01-22-2010 [eluser]MianUsman[/eluser] Hi, Code: $config['index_page'] = ""; config.php file for index_page. Site is not running due to redirect mode of codeigniter - El Forum - 01-22-2010 [eluser]Mat-Moo[/eluser] Change it back to index.php and remove the .htaccess - does it all work correctly again? Site is not running due to redirect mode of codeigniter - El Forum - 01-22-2010 [eluser]MianUsman[/eluser] Thanks So much got the solution. Thanks again for so much help |