首页 > 移动平台 > 详细

appcmd cmd 操作IIS

时间:2019-06-09 00:13:14      阅读:159      评论:0      收藏:0      [点我收藏+]

创建子站点

appcmd.exe add app /site.name:"Default Web Site" /path:/TestSite /physicalPath:"C:\Applications"

打开C:\Windows\System32\inetsrv\config\applicationHost.config配置,添加下面的配置

<location path="Default Web Site/TestSite">
<system.webServer>
<security>
<authentication>
<windowsAuthentication enabled="true" />
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>

appcmd cmd 操作IIS

原文:https://www.cnblogs.com/lizhanglong/p/10992145.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!