title: NO INPUT FILE SPECIFIED - Codeigniter on IIS
body: <p>I am stuck with Codeigniter v2.2 on IIS. I have PHP installed and configured and when I write plain PHP code, it works including the hyperlinks, but when I try to access any method of the CI controller, I get the error message "No input file specified". Below is my web.config file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
      &lt;system.webServer&gt;
          &lt;rewrite&gt;
              &lt;rules&gt;
                  &lt;rule name="MyRule"&gt;
                      &lt;match url="^(.*)$" /&gt; 
                      &lt;conditions&gt; 
                      &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt; 
                      &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt; 
                      &lt;/conditions&gt; 
                      &lt;action type="Rewrite" url="index.php/{R:1}" appendQueryString="false" /&gt;
                  &lt;/rule&gt;
              &lt;/rules&gt;
          &lt;/rewrite&gt;
      &lt;/system.webServer&gt;
  &lt;/configuration&gt;  
  </code></pre>
  
  <p>My config.php settings are as follows:</p>
  
  <pre><code>$config['index_page'] = '';
  $config['uri_protocol'] = 'AUTO';
  </code></pre>
  
  <p>I don't understand what I am doing wrong? Please advise.</p>