【问题标题】:Where can I find ISAPI-DLL entry in ApplicationHost.config file我在哪里可以找到 ApplicationHost.config 文件中的 ISAPI-DLL 条目
【发布时间】:2014-12-16 22:34:56
【问题描述】:

我需要以编程方式验证我网站的 IIS 配置的 ApplicationHost.config 文件。 在这里,我正在阅读ApplicationHost.config 文件并确保所有配置都根据网站需要存在。 我在为'Handler Mapping' 下的 ISAPI-DLL 验证'Edit Feature Permissions' 时遇到问题。 当我将 ISAPI-DLL 的功能权限更改为 execute 时,我没有在 ApplicationHost.config 文件中获得更新的值。有人可以帮我吗?

附截图

【问题讨论】:

    标签: iis isapi


    【解决方案1】:

    我解决了我的问题。我在寻找错误的文件。 IIS 在应用程序文件夹的web.config 文件中进行了更改。 因此,为了验证是否向 ISAPI-DLL 处理程序授予了execute 权限,我读取了节点handlers 的属性accessPolicy 以下是示例 xml。

    <handlers accessPolicy="Read, Execute, Script">
                <remove name="ISAPI-dll" />
                <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" scriptProcessor="D:\software\_WebNeo_SQL_Sample_Site_1\rest\ttmRESTSrv.dll" resourceType="File" requireAccess="Execute" allowPathInfo="true" preCondition="bitness32" />
            </handlers> 
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-10-14
      • 1970-01-01
      相关资源
      最近更新 更多