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

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

Have a look at the maxUrlLength setting in your web.config file. If not defined, you can increase the maximun number of allowed characters in a URL with a httpRuntime setting:

<configuration>
  <system.web>
    <httpRuntime maxUrlLength="500" />
  </system.web>
</configuration>

This would increase the default of 260 characters to 500.

(source: http://www.saotn.org/the-length-url-request-exceeds-configured-maxurllength-value/) - used "Answer" to add the web.config configuration code.