I am trying to remove index.php from url. But its not working!
Using ubuntu 12.04 ( LAMP).
CodeIgniter_2.1.2
.htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cms1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
in config.php :
$config['index_page'] = 'index.php'; to $config['index_page'] = '';
Directory structure:
/var/www/cms1
->cms1
->application
->system
->user_guide
->index.php
->license.txt
->.htaccess