title: Can't download files from global area codeigniter
body: <p>I have these structure in my codeigniter app:</p>
  
  <pre><code>application
  |
   --- some other folders
  |
  system
  |
   --- some other folders
  |
  global
  |
   --- docs
       |
        --- target folder
            |
             --- MY FILE
  </code></pre>
  
  <p>Now, I want my users download a file from  <code>http://test.com/global/docs/targetfolder/MYFile</code></p>
  
  <p><strong>but</strong> codeigniter behave with download address as <code>http:://test.com/controller/method/variable</code> and I'll get <code>404</code> error.</p>
  
  <p>Would you please let me know how can I fix this situation?</p>
  
  <p><strong><em>This is my main .htaccess file</em></strong></p>
  
  <pre><code># Turn on URL rewriting
  RewriteEngine On
  
  # Installation directory
  #RewriteBase /
  
  # Protect hidden files from being viewed
  &lt;Files .*&gt;
      Order Deny,Allow
      Deny From All
  &lt;/Files&gt;
  
  # Protect application and system files from being viewed
  RewriteRule ^(?:application|system)\b.* index.php/$0 [L]
  
  # Allow any files or directories that exist to be displayed directly
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  # Rewrite all other URLs to index.php/URL
  RewriteRule .* index.php/$0 [PT]
  
  
  &lt;ifModule mod_headers.c&gt;
   Header set Connection keep-alive 
   &lt;/ifModule&gt;
  
  RewriteCond %{HTTP_USER_AGENT} libwww-perl.* 
  RewriteRule .* ? [F,L]
  
  
  &lt;IfModule mod_expires.c&gt;
  # Enable expirations
  ExpiresActive On 
  # Default directive
  ExpiresDefault "access plus 1 month"
  # My favicon
  ExpiresByType image/x-icon "access plus 1 year"
  # Images
  ExpiresByType image/gif "access plus 1 month"
  ExpiresByType image/png "access plus 1 month"
  ExpiresByType image/jpg "access plus 1 month"
  ExpiresByType image/jpeg "access plus 1 month"
  # CSS
  ExpiresByType text/css "access plus 1 month"
  # Javascript
  ExpiresByType application/javascript "access plus 1 year"
  &lt;/IfModule&gt;
  </code></pre>