title: Remove index.php from URL in Codeigniter
body: <p>I have done this lots of time. But than also I am stuck here again (in a different server)  and can not figure out what is the issue.</p>
  
  <p>Completed htaccess editing </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /glt.me/CI/
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ /glt.me/CI/index.php/$1 [L]
  &lt;/IfModule&gt;
  
  &lt;IfModule !mod_rewrite.c&gt;
  ErrorDocument 404 /index.php
  &lt;/IfModule&gt;
  </code></pre>
  
  <ul>
  <li>rewrite module is enabled (as per customer care perons says)</li>
  <li><p>Error :</p>
  
  <p>Internal Server Error</p>
  
  <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
  
  <p>Please contact the server administrator, cgiadmin@yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p>
  
  <p>More information about this error may be available in the server error log.</p>
  
  <p>Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.</p></li>
  </ul>
  
  <p>Test this case : </p>
  
  <pre><code>http://glt.me/CI/test
  http://glt.me/CI/index.php/test
  </code></pre>