简体   繁体   English

使用ServerManager访问IIS网站属性

[英]Access IIS Websites Properties Using ServerManager

I am able to display the sites in my IIS using the serverManager.Site . 我可以使用serverManager.Site在IIS中显示站点。 Is there any way to list the files in each of the Website. 有什么方法可以列出每个网站中的文件。 I need to change RequireSSL property of one of the File. 我需要更改File之一的RequireSSL属性。 Is that Possible using ServerManager? 使用ServerManager可以吗? Or any other way to do the same like appcmd ? 还是像appcmd一样做同样的事情? Any Help is appreciated. 任何帮助表示赞赏。

I found a Solution in the link provided by Antonio in the comment. 我在评论中由Antonio提供的链接中找到了解决方案。 Basically we can change the ApplicationHost Config File to get it done. 基本上,我们可以更改ApplicationHost Config File来完成它。 Heres the link again 再次继承链接

Configure SSL on a Microsoft.Web.Administration.Application object? 在Microsoft.Web.Administration.Application对象上配置SSL?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM