Sto sviluppando un'applicazione web con code igniter. Non so se qualcuno l'ha mai usato, ma sto di fronte ad un piccolo problema che però non capisco perché non riesco a risolvere...dunque, di default il framework usa scrivere gli url in questo modo:

come potete immaginare, quell'"index.php" nell'url è un pochino antipatico, allora spulciando tra la documentazione di CodeIgniter c'è scritto che per ovviare al problema basta creare il classico file per l'url rewrite con il seguente contenuto:

codice:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
e per magia...non funziona nullo, tutto come prima...non so se qualcuno già si è trovato a risolvere questo problema, ma non so proprio come uscirne...

Dalla documentazione di CodeIgniter
Removing the index.php file

By default, the index.php file will be included in your URLs:
example.com/index.php/news/article/my_article

You can easily remove this file by using a .htaccess file with some simple rules. Here is an example of such a file, using the "negative" method in which everything is redirected except the specified items:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

In the above example, any HTTP request other than those for index.php, images, and robots.txt is treated as a request for your index.php file.