如何增加URL的最大长度? [英] How to increase the max length of url?
问题描述
什么是我可以按照增加IIS7 / ASP.NET?
What are the best practices that I can follow to increase the max length of the URL in IIS7/ASP.NET?
请指教。
推荐答案
从这个网站的 http://technet.microsoft.com/en-us/library/cc754791(v = ws.10)的.aspx
使用命令行:appcmd设置配置/section:requestfiltering/requestlimits.maxurl:单位的
Use command line : appcmd set config /section:requestfiltering/requestlimits.maxurl: unit
下面解释如何使用APPCMD:
<一href=\"http://www.windowsnetworking.com/articles_tutorials/Configuring-IIS-7-command-line-Appcmdexe-Part1.html\" rel=\"nofollow\">http://www.windowsnetworking.com/articles_tutorials/Configuring-IIS-7-command-line-Appcmdexe-Part1.html
Here is explained how to use appcmd: http://www.windowsnetworking.com/articles_tutorials/Configuring-IIS-7-command-line-Appcmdexe-Part1.html
您需要知道在哪里APPCMD.exe命令,位于因为它不是
在默认路径。为了运行Appcmd.exe的,你要么需要
改变目录复制到%WINDIR%\\ SYSTEM32 \\ INETSRV \\或添加
目录到PATH环境变量。在我使用Windows 2008服务器
默认安装,Appcmd.exe的是位于
C:\\ WINDOWS \\ SYSTEM32 \\ INETSRV
You need to know where the AppCmd.exe command is located as it is not in the default PATH. In order to run AppCmd.exe, you will either need to change directory into %windir%\system32\inetsrv\ or add that directory to your PATH variable. On my Windows 2008 server with a default installation, AppCmd.exe was located in C:\Windows\System32\inetsrv.
但要小心。如果您的请求的url成了真的真的很大,使用后的信息传递参数
But be careful. If your request url became realy realy large, use post message to pass parameters
这篇关于如何增加URL的最大长度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!