title: .htaccess if request is a file or directory, redirect with absolute path
body: <p>With this htaccess configuration, I have to set all my .js and .css or image path with absolute path.</p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?/$1 [L]
  </code></pre>
  
  <p>How do I have to modify this htaccess so i can put path of the image, css, or js files doesn't have to be an absolute path?</p>
  
  <p>Is it possible?</p>
  
  <p>Thanks before.</p>
  
  <hr>
  
  <p><strong>ADD</strong></p>
  
  <p>Say my directory structure like this:</p>
  
  <pre><code>root
  -- asset
     -- images
     -- css
     -- js
  </code></pre>