title: Codeigniter .htaccess: Give public access to all files but not the folder
body: <p>my file format like</p>
  
  <pre><code>  application
         - controllers
         - views etc...
    assetes
         - Images
         - Css etc...
  </code></pre>
  
  <p>and my .htaccess file are below:</p>
  
  <pre><code>#Deny from all
  RewriteEngine on
  RewriteCond $1 !^(index\.php|assets|robots\.txt)
  RewriteRule ^(.*)$ index.php/$1 [L]
  </code></pre>
  
  <p>My problem is that assets folder access to every one any user veiw all images and all css file but needed is only user access assets folder file not the access entire folder </p>
  
  <p>please help me
  thanks!</p>