I've created an app using CodeIgniter and mod_rewrite (only to abstract the index) on Windows (with WampServer). On that environment, the app works just fine, everything smooth as it should be. But at the time when I went porting it to the production server (Linux), the rewriting processes just stoped working.
At first glance, it appeard to me that the "case-sensistiveness" of the linux file system was the vilain. But after renaming the files that contained errors, the problem persisted.
The fact is. No matter wich url I call, the rewrite keeps calling the /index.php.
Here is my .htaccess content:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
RewriteRule .\svn\* - [F]
The folder structure of my app is:
doc_root
- application
-controllers
-c.php
- .htaccess
- index.php
(... everything else is codeigniter's default)