title: Codeigniter "No input file specified" even after pasting a new .htacess
body: <p>I am trying to install codeIgniter and I have copied all of codeIgniter files to a folder called <code>/backend</code> in <code>http://www.mydomain.com</code>.</p>
  
  <p>Now, <code>http://www.mydomain.com/backend/index.php</code> shows the codeIgniter welcome page.</p>
  
  <p>Then I created a <code>main.php</code> in the <code>/backend/controller</code> folder. But when I open <code>http://www.mydomain.com/backend/index.php/main</code>, it shows <code>No input file specified</code>.</p>
  
  <p>After looking at <a href="https://stackoverflow.com/questions/6118740/codeigniter-no-input-file-specified">this question</a>, i pasted a .htaccess file with the following contents into the <code>/backend</code> folder.</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L]
  </code></pre>
  
  <p>But the page <code>http://www.mydomain.com/backend/index.php/main</code> still says <code>No input file specified</code>.</p>
  
  <p>Why is the <code>.htaccess</code> not making any difference? I don't understand whats going on.</p>