We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: The <fastCgi> element configuration levels

    Mar 04, 2021 06:55 AM|Brucz|LINK

    Hi skvoboo,

    Yes, you can do this.

    You can unlock this restriction in IIS Manager to make FastCGI can be set in web.config.

    In the connections tree(in IIS), go to your server node and then to your website.

    1. For the website, in the right window you will see configuration editor under Management.
    2. Double click on the configuration editor.
    3. In the window that opens, on top you will find a drop down for sections. Choose "system.webServer/handlers" from the drop down.
    4. On the right side, there is another drop down. Choose "ApplicationHost.Config "
    5. On the right most pane, you will find "Unlock Section" under "Section" heading. Click on that.

    Then you can add any handler at level of site.

    Best regards,

    Brucz

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.