I know that this subject has been seen many times here, but I didn't see any of them solving my issue here...
I have an application that is working with Codeigniter. I try to remove the index.php in the URL, but it seems I'm cursed today.
Here's what I have in my config.php file :
$config['base_url'] = "http://".$_SERVER['SERVER_NAME']."/";
$config['index_page'] = "";
$config['uri_protocol'] = 'AUTO';
And here's my .htacess (such as CI suggests) :
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
With this, I'm unable to remove the index.php in the URL. In fact, it removes it well, but I have a pretty 404 then on the screen.
I checked the phpinfos() to see if the mod_rewrite was rightly activated, and there's no problem on this side.
**EDIT**
I checked my apache logs, and here's what I have :
[Wed Jul 18 12:27:08 2012] [error] [client 127.0.0.1] File does not exist: [PATH]/trunk/user
The real path should be :
[PATH]/trunk/application/controllers/user
I saw that all this stuff is setup in the index.php file, but it seems that it's never called...
Could anyone suggests me something please to solve this ?
Thanks !