applicationhost.config file path in IIS 7, 7.5, 8, 8.5 and IIS 10?

后端 未结 2 1998
太阳男子
太阳男子 2021-01-31 13:27

Anyone please explain me the applicationhost.config file location in the different mentioned IIS versions. Please mention the exact locations in each iis version. Apt answers wi

2条回答
  •  星月不相逢
    2021-01-31 14:15

    For the "big" IIS versions since IIS 7, the location is always the same:

     %windir%\System32\inetsrv\config\applicationHost.config
    

    For IIS Express there is one per user, the default location is:

    %USERPROFILE%\Documents\IISExpress\config\applicationhost.config
    

    again it's the same for all versions.

    You can run multiple instances of IIS Express per user, you would need to specify the location of the applicationhost.config as the command line parameter /config for iisexpress.exe

提交回复
热议问题