How to enable Directory browsing by default on IIS Express

后端 未结 4 1440
说谎
说谎 2021-02-01 07:04

Cassini (Visual Studio development web server) by default enables directory browsing, how can I enable directory browsing on IIS Express by default? (I don\'t want to have a sep

4条回答
  •  梦谈多话
    2021-02-01 07:19

    You should be able to use AppCmd.exe to manage IIS Express. Try this:

    appcmd set config /section:directoryBrowse /enabled:true
    

    More info on AppCmd.exe here: http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe

提交回复
热议问题