title: Codeigniter: how to serve static html pages in codeigniter context
body: <p>Hi all
  I want to serve some static html pages in codeigniter context. I dont want to bypass the index.php file in the base_url.
  But when I user the call to the HTML file, it dispays the 404 error page.
  I appreciate any help for this topic from guys who already solving this problem . Thanks for all in advance</p>
  
  <p>I want to precise this elements:</p>
  
  <ol>
  <li>my real problem is to serve PDF file for users to display in the browser only an not to save the PDF file. So I convert the PDF to HTML Files.  The output is a directory with HTML files linked  betwen them and ther images/button, CSS, js for navigation</li>
  <li>when i put this HTML-OUTPUT in  ci\Docs\HTML1 directory I can access it whith this URL localhost/ci/docs/html1/index.htm.
  But where i use  localhost/ci/index.php/docs/html1/index.htm I get A 404 error page.</li>
  <li><p>So I moved The HMLT1 directory to the Application\views directory. And i stil have the same error. My .htacces look like this:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  
  RewriteEngine on
  RewriteCond $1 !^(index\.php|resources|robots\.txt)
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L,QSA] 
  
  &lt;/IfModule&gt;
  </code></pre></li>
  </ol>
  
  <p>Thanks Guys for your help</p>