Why Codeigniter Gives 404 Page not found error on server?
I have developed a small survey application with codeigniter. Which works fine on my local machine. But when i uploaded and configured it on server it is giving me Codeignitor 404 page not found error. I have tried it on two server. One of windows and other of LINUX. But no charm. let me tell you what i have tried so far.
1) Changed $config['index_page'] = "";
to $config['index_page'] = "index.php?";
2) for $config['ur开发者_如何转开发i_protocol']
, i have tried each possible value.
Can you please suggest me some solutions?
Resolved Okey, stupid, stupid me. I got it. I was to make controller name lowercase. Like from Home.php to home.php :) It might help someone! Thanks for your suggestions mate.
You'll also have to set the $config['base_url']
to your domain name.
精彩评论