如何在IIS Express上默认启用目录浏览 [英] How to enable Directory browsing by default on IIS Express

查看:334
本文介绍了如何在IIS Express上默认启用目录浏览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Cassini(Visual Studio开发Web服务器)默认启用目录浏览,如何在IIS Express上默认启用目录浏览? (我不想为每个项目都有单独的配置吗?

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 separate configuration for each project I have?

推荐答案

您应该可以使用AppCmd。用来管理IIS Express。试试这个:

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

appcmd set config /section:directoryBrowse /enabled:true

有关AppCmd.exe的更多信息,请访问:
http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe

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

这篇关于如何在IIS Express上默认启用目录浏览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆