web.config中的IIS 10 urlsementLength
我面临的问题是,我的URL段更多,指定了260个字符,如下所示:
我还设置了解决方案的解决方案在注册表中也是如此。下面的命令行示例
set -itemproperty -path hklm:\ system \ currentControlset \ services \ http \ parameters -name urlSementMaxlength -Value 5000 -Type“ dword”
但是我不想这样做,因为这样做之后,我将不得不重新启动HTTP和W3SVC。由于我在同一服务器上托管了不同的应用程序,因此我不想重新启动它们。
如果我可以在每个应用程序中设置类似的东西,我尝试找到解决方案。因此,我已经尝试过的是在httpruntime和web.config的httpruntime和requestLimit部分中设置maxurl maxurllth maxquerystring maxquerystringlength等。
有人知道吗?
I am facing a problem that i have a url segment more that specified 260 chars like below:
I have the solution as well to set the DWORD value in the Registry for the same. Command line example below
Set-ItemProperty -Path
HKLM:\System\CurrentControlSet\Services\HTTP\Parameters -Name
UrlSegmentMaxLength -Value 5000 -Type "Dword"
But what I do not want to do that since after doing that I will have to restart the http and w3svc. Since I have different applications hosted on the same server I do not want to restart them all.
I tried finding the solution if there is something similar which I can set in web.config per application. With that I already tried is setting maxUrl maxUrlLength maxQueryString maxQueryStringLength etc. etc in httpRuntime and requestLimit section of web.config.
Does anyone knows about the same?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论