IIS 6和web.config [英] IIS 6 and web.config

查看:107
本文介绍了IIS 6和web.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的web.config文件中禁用了Anomymous Access并启用了集成Windows身份验证,如下所示...

I disabled Anomymous Access and enabled Integrated Windows Authentication in my web.config file as follows...

<configuration>
    <system.web>
        <authentication mode="Windows"/>
        <authorization>
            <deny users="?"/>
        </authorization>
    </system.web>
</configuration>



为什么在将Web应用程序部署到IIS时仍然需要手动禁用和启用IIS中的这两个设置? IIS不会读取我的web.config文件中的设置吗?



Why is it that when I deploy my web application to IIS, I still have to manually disable and enable these two settings in IIS? Doesn''t IIS read the settings in my web.config file?

推荐答案

请按照以下步骤操作:
http://msdn.microsoft.com/en-us/library/bb164124 (v = vs.80).aspx [
Follow this:
http://msdn.microsoft.com/en-us/library/bb164124(v=vs.80).aspx[^]


这篇关于IIS 6和web.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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