CodeIgniter在我的localhost上不能在服务器上运行

I have created a profile page for my organization staff. Each staff profile information can be seen when his/her email typed. For example:

http://localhost/people/zkanoca

will show my information. By the way it works on my local computer.

I have decided to take a test my application. Then I have uploaded all the files and changed the database access information.

To see how it works I typed:

http://people.example.com/zkanoca

I got 404 error. So I notified that it is a mod_rewrite issue. Then I re-typed the url as:

http://people.example.com/index.php/zkanoca

Now I am getting error:

Unable to locate the model you have specified: Header_model

Header_model is a class in header_model.php in models directory.

I have double checked the class names, file names, routes. There is no letter case problem. It works on local but not on the server. I have searched for a solution to my problem on Internet but none of them helped me. Also I am working with CodeIgniter 3.0rc3.

I am sure I forget to set something for remote server but could have not identified yet.

Please try .htaccess with the rewrite rule

Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [QSA,L]