Using Apache2 installed on windows 7, I use the htaccess configuration below to remove the index.php from codeigniter url:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
Could someone please tell why the configuration above does not work on ubuntu. I have enable mod rewrite using sudo a2enmod rewrite. Thanks