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条)

报告相同问题?

悬赏问题

  • ¥30 Hyper-v虚拟机相关问题,求解答。
  • ¥15 TSM320F2808PZA芯片 Bootloader
  • ¥45 谷歌浏览器出现开发者工具无法显示已创建的,但您可以调试已部署的代码。 状态代码 404, net::ERR HTTP RESPONSE CODE FAILURE
  • ¥15 chatgpt网页版侧边栏和模型切换点击没反应怎么办
  • ¥15 如何解决蓝牙通话音频突发失真问题
  • ¥15 安装opengauss数据库报错
  • ¥15 【急】在线问答CNC雕刻机的电子电路与编程
  • ¥60 在mc68335芯片上移植ucos ii 的成功工程文件
  • ¥15 笔记本外接显示器正常,但是笔记本屏幕黑屏
  • ¥15 Python pandas