Site is not running due to redirect mode of codeigniter |
[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
[eluser]Mat-Moo[/eluser]
Have you setup a .htaccess file correctly? http://ellislab.com/codeigniter/user-gui.../urls.html
[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
[eluser]Mat-Moo[/eluser]
try Code: Options FollowSymLinks
[eluser]MianUsman[/eluser]
Hi, Code: $config['index_page'] = ""; config.php file for index_page.
[eluser]Mat-Moo[/eluser]
Change it back to index.php and remove the .htaccess - does it all work correctly again?
[eluser]MianUsman[/eluser]
Thanks So much got the solution. Thanks again for so much help |
Welcome Guest, Not a member yet? Register Sign In |