在安装 DotNetNuke 模块时,我试图将以下代码添加到我的 web.config 文件中。
我看到的所有示例文件都引用了 DNN 上的提供程序和现有组件。https://www.dnnsoftware.com/wiki/manifest-config-component
我想知道我可以用来<component type="Config">
向 web.config 文件添加新设置。
https://www.dnnsoftware.com/docs/developers/extensions/dnn-manifest-schema.html
这是我想在结束</system.webServer>
标记之前添加的代码
<security>
<requestFiltering>
<!--The default size is 30000000 bytes (28.6 MB). MaxValue is 4294967295 bytes (4 GB)-->
<!-- 100 MB in bytes -->
<requestLimits maxAllowedContentLength="104857600" />
</requestFiltering>
</security>