title: when removing index.php from url ( codeigniter ) .htaccess Prevent the files from the display
body: <p>I'm using codeigniter, and I tried to remove index.php from url by creating .htaccess file
  and it contents:</p>
  
  <pre><code>RewriteEngine on
  RewriteCond $1 !^(index\.php|images|robots\.txt)
  RewriteRule ^(.*)$ /index.php/$1 [L]
  </code></pre>
  
  <p>this way is working will at xampp server.
  but when I uploaded the site, unfortunately there was a problem appeared:</p>
  
  <p><strong>I have a folder called files and it content sub folders: images, css, js, swf, upload.
  and every file at those folders can't view, and the browser said there the file not found.</strong></p>
  
  <p>any help ploese.</p>