title: PHP CodeIgniter 404 on deploy
body: <p>Oooops I did it again.</p>
  
  <p><strong>My site worked perfectly locally</strong></p>
  
  <p>My development machine is a windows WAMP2 setup
  My server is a CentOS 5.5 APACHE 2.2 PHP5 seup</p>
  
  <p>I'm getting a 404 on the codeigniter site that I've deployed, and I really can't make out what's wrong, so please help me find the error.</p>
  
  <p>It's the root url. I haven't set up dns so it's just the ip address of the server. It was showing the standard apache page before I uploaded codeigniter. I've looked over the config file, and it looks ok. Could it be a file permissions error? i have set chmod o+rw in the whole /var/www/html dir. the error_log in the httpd shows nothing</p>
  
  <p>I've tried testing if it was the mod_rewrite module, but I created a test directory with a .htaccess file with RewriteEngine ON that didn't give me an error, so that can't be it.</p>
  
  <p>In codeigniter I've set the log_threshold to 4 in the config, but I don't get any log messages, so I can't really make out if it's a pre-> codeigniter error, but I really don't think it is, as it's loading my Error view, still Why isn't there any log being written, what's it about?</p>
  
  <p>Any help would be extremely appreciated as I'm running on fumes to get this working...</p>
  
  <p><strong>Update</strong>
  Thanks to @jondavidjohn I have discovered that hitting the controller directly IE:</p>
  
  <p><a href="http://addr/index.php/GeoController/markers/" rel="nofollow">http://addr/index.php/GeoController/markers/</a></p>
  
  <p>Will provide me with a controller specific error saying:</p>
  
  <p>unable to locate your model "modelname"</p>
  
  <p><strong>SOLVED</strong>
  Thanks to @jondavidjohn, and @timdream for giving me the clues to solve this one. It was a naming problem, I had filenames that were camelcased, and they can only be small from what I understand now, so the ROUTE was innefective in that it lead to Site, but should've lead to site although I had a Site.php I had to change it and the route to site.php</p>