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