title: How to get IIS6 to recognize pathinfo routes instead of returning "404 Undescribed" error?
body: <p>I am developing a RESTful web application in PHP. What I have got is:</p>
  
  <ol>
  <li>on the <strong>test</strong> server, Windows 7 / Apache 2.2 / PHP 5.2.9 (mod_php)</li>
  <li>on the <strong>production</strong> server, Windows Server 2003 / IIS6 / PHP 5.2.4 (php5isapi.dll)</li>
  </ol>
  
  <p>While the test environment has got no problem, the production server fails to send any RESTful request with pathinfo (i.e., pages like e.g. <code>/mypath/app.php/controller/id</code>, where the handling script is <code>/mypath/app.php</code>) and gives a nice blank page with the message:</p>
  
  <pre><code>No input file specified. 
  </code></pre>
  
  <p>Using firebug, I can see the response headers are:</p>
  
  <pre><code>HTTP/1.1 404 Undescribed
  Proxy-Connection: close
  Connection: close
  Via: 1.1 XXXXX
  Date: Thu, 23 Jun 2011 14:51:18 GMT
  Content-Type: text/html
  Server: Microsoft-IIS/6.0
  X-Powered-By: ASP.NET, PHP/5.2.4
  </code></pre>
  
  <p>Where <code>XXXXX</code> is the name of the proxy.</p>
  
  <p>I googled around and it seems like neither SO nor the rest of the web can give practical solutions to this problem. Any clue?</p>
  
  <p>Since the production server needs to keep up, reinstalling PHP and/or IIS is <strong>not</strong> an option. What I can do is modify IIS/PHP configuration, and restart IIS.</p>
  
  <p>Thanks in advance,</p>
  
  <p>Paolo</p>