IIS7中的URL长度问题(Windows Server 2008) [英] Issue with URL length in IIS7 (Windows Server 2008)
问题描述
我在iis7中的URL长度有问题.如果您要访问:
i have an issue with url lengths in iis7. If you go to:
该页面将正常加载,但是如果在末尾再添加一个字符,则会引发错误.这对您来说似乎有点挑剔,但由于它返回了一个很长的URL,因此阻止了我在登录表单上使用open id.我确实考虑过的一个选项是更改requestFiltering,因此在我的web.config中,我具有以下内容:
The page will load fine but if you add one more character to the end it will throw an error. This might seem abit picky to you but it's stopping me from using open id on my login form since it returns a long url. One option i did consider was changing the requestFiltering, therefore in my web.config i have the following:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxQueryString="999999999" maxUrl="999999999" />
</requestFiltering>
</security>
</system.webServer>
但这不能解决问题.如果有人可以提供帮助,我将不胜感激.谢谢
But this did not resolve the issue. I'd appreciate it if someone could help. Thanks
推荐答案
这是Windows的限制,目前没有解决方法
This is a limitation of Windows and there is currently no workaround
有关更多信息,请参见此StackOverflow文章:
See this StackOverflow article for more information:
这篇关于IIS7中的URL长度问题(Windows Server 2008)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!