douduan9391 2013-11-08 08:59
浏览 603
已采纳

IIS 7.0增加了URL大小限制

I have a web page that receives notification from payment processor when a client has made a payment to my site.

The notification arrives in the form of a GET submission, so the URL can be quite long. I have no jurisdiction over how the notification is sent, so I cannot simply change it to a POST submission, which would solve all my problems.

The problem is that sometimes the notification is not received as the URL is too long. It is only barely clipping the limit of what is allowed because if I shorten the URL by a mere 15 characters I get a successful connection.

I have tried changing UrlSegmentMaxCount om the windows registry, but the problem remains.

Does anyone know how I can configure my IIS hosted php site to allow for longer GET requests?

EDIT

This is what I have tried.

In case it is a php issue I have added the line in my .htaccess file:

php_value suhosin.get.max_value_length 2048

and to try and fix any windows issues I have put in my registry: #

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters] "UrlSegmentMaxLength"=dword:00001000

  • 写回答

2条回答 默认 最新

  • dpwdsmbvm496180204 2013-11-08 11:06
    关注

    Is request filtering enabled? If it is try changing the maxQueryString and maxUrl parameters and see if that's what's restricting you.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 做个有关计算的小程序
  • ¥15 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下
  • ¥15 setInterval 页面闪烁,怎么解决
  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化