title: how to remove index.php from url cakephp
body: <p>i have build a webapp on Cakephp 2.3 .. on my locaLhost all urls were fine.. i can access my urls like this </p>
  
  <pre><code>http://localhost/Cakephp
  </code></pre>
  
  <p>but now when i have uploaded the site on server in root folder ... i cant access my url like this </p>
  
  <pre><code>http://www.myweb.com
  </code></pre>
  
  <p>instead it can accessible like this</p>
  
  <pre><code>http://www.myweb.com/index.php/login
  </code></pre>
  
  <p>what i think that might be a problem is the .htaccess file in my app/webroot folder</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
     RewriteEngine On
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteRule ^(.*)$ index.php [QSA,L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I think this kind of index.php is causing the problem ..as i dont know about .htaccess so dont know how to remove it.</p>
  
  <p>How do I get index.php out of my urls?</p>