title: Convert AddType rule from htaccess to web.config
body: <p>I need to convert .htaccess</p>
  
  <pre><code>AddType application/x-httpd-php .txt
  </code></pre>
  
  <p>to web.config. Could you help me with it? I tried</p>
  
  <pre><code>    &lt;configuration&gt;
    &lt;system.web&gt;
      &lt;httpHandlers&gt;
        &lt;add verb="*" path="*.txt" 
           type="php " /&gt;
      &lt;/httpHandlers&gt;
    &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>but it doesn't work for me. So at all I need to open txt files like php on IIS.</p>