Hi Sven

If you're using Apache2, you can try configuring the server to allow long URLs:

In your VirtualHost config (e.g. in httpd.conf), set LimitRequestFieldSize and 
LimitRequestLine to something big.

e.g.


<VirtualHost *:80>

        LimitRequestFieldSize 50000

        LimitRequestLine 50000

           #....etc....#

</VirtualHost>


Regards,
Glenn



On 17/01/14 17:15, Sven Schroeter wrote:

Hi,

I'm using the maxGetUrlLength property of the layer's tileOptions option to
send a layer request via post to a custom WMS-Script.
This works fine for me, but I'm not able to print a map with this layers
using HTTP POST (with no browser).
You can test this problem on the example "WMS with POST Requests to Avoid
Long URLs"
http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/wms-long-url.h
tml
If you use  Long URL - POST requests you can't print the map
If you use Short URL - GET requests it's no problem.
Any idea to solve this problem?

Greetings
Sven




_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/openlayers-users



_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to