title: Codeigniter - blank page on fresh xampp installation
body: <p>I have weird problem. I have to modify old CodeIgniter project.</p>
  
  <p>Im using local windows XAMPP server for development, and my project was working on XAMPP.</p>
  
  <p>Few weeks ago I reinstalled operating system . I installed XAMPP (same version) and i moved htdocs from default <code>c:\xampp\htdocs</code> to <code>e:\htdocs</code>. I had no problems with XAMPP with moved htdocs (other non-codeigniter projects are working fine).</p>
  
  <p>Today I copied application from production server to my localhost and it's not working.</p>
  
  <p>When I try to open in browser: <code>http://localhost/myprojectfolder</code> im getting blank page.</p>
  
  <p>Clean CodeIgniter installation on local windows XAMPP works (however clean installation is not using .htaccess).</p>
  
  <p>Project is working normally on production web server with .htaccess file like this:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  
      RewriteEngine On
      RewriteBase /myprojectfolder
  
      ### Canonicalize codeigniter URLs
  
      # If your default controller is something other than
      # "welcome" you should probably change this
      # RewriteRule ^(welcome(/index)?|index(\.php)?)/?$ / [L,R=301]
      # RewriteRule ^(.*)/index/?$ $1 [L,R=301]
  
      # Removes trailing slashes (prevents SEO duplicate content issues)
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.+)/$ $1 [L,R=301]
  
      # Removes access to the system folder by users.
      # Additionally this will allow you to create a System.php controller,
      # previously this would not have been possible.
      # 'system' can be replaced if you have renamed your system folder.
      # RewriteCond %{REQUEST_URI} ^system.*
      # RewriteRule ^(.*)$ /index.php/$1 [L]
  
      # Checks to see if the user is attempting to access a valid file,
      # such as an image or css document, if this isn't true it sends the
      # request to index.php
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php?/$1 [L]
  
  &lt;/IfModule&gt;
  
  &lt;IfModule !mod_rewrite.c&gt;
  
      # Without mod_rewrite, route 404's to the front controller
      ErrorDocument 404 /index.php
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I dont remember, that i had separate .htaccess file for localhost or not. If I had - it was overwritten by file from production server.</p>
  
  <p>MySQL database used in project is identical on both servers (name, user, password, structure etc.).</p>
  
  <p>My <code>$config['uri_protocol']</code> is set to <code>AUTO</code> and it was working on XAMPP with <code>AUTO</code>.</p>
  
  <p>My file permissions in <code>htdocs</code> are fine (user that is starting httpd.exe service can read and write there).</p>
  
  <p>My routing:</p>
  
  <pre><code>$route['default_controller'] = "home";
  $route['admin'] = 'admin/start';
  $route['404_override'] = '';
  </code></pre>
  
  <p>Any ideas?</p>