title: Htaccess file - 404 page not found on some folders
body: <p>I am using codeigniter and I keep having these 404 errors in my log file.</p>
  
  <pre><code>ERROR - 2016-04-30 16:41:15 --&gt; 404 Page Not Found: Assets/js
  ERROR - 2016-04-30 16:41:15 --&gt; 404 Page Not Found: Assets/js
  ERROR - 2016-04-30 16:41:18 --&gt; 404 Page Not Found: Assets/js
  </code></pre>
  
  <p>So every page load causes one entry of the above error in the log file. My htaccess file looks like below. What's going wrong here? </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
      RewriteBase /
  
      RewriteCond %{REQUEST_URI} ^system.*
      RewriteRule ^(.*)$ index.php?/$1 [L]
  
      RewriteCond %{REQUEST_URI} ^application.*
      RewriteRule ^(.*)$ index.php?/$1 [L]
  
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php?/$1 [L]
  
  
      RewriteCond $1 !^(index\.php|assets|myadmin|robots\.txt)
      RewriteRule ^(.*)$ index.php?/$1 [L]
  
  &lt;/IfModule&gt;
  &lt;IfModule !mod_rewrite.c&gt;
      ErrorDocument 404 /index.php
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I can confirm <code>assets/js</code> are valid folders. </p>