<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><font size="-1">Hi Sven<br>
<br>
If you're using Apache2, you can try configuring the server to allow long URLs:<br>
<br>
</font><font size="-1">In your VirtualHost config (e.g. in httpd.conf), set LimitRequestFieldSize and LimitRequestLine to something big.<br>
<br>
e.g.<br>
<br>
<font size="-1">
<title></title>
<meta name="GENERATOR" content="LibreOffice 4.1.3.2 (Linux)">
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm; direction: ltr; line-height: 100%; text-align: left; widows: 2; orphans: 2 }
P.western { font-family: "Times New Roman", serif; font-size: 12pt }
P.cjk { font-family: "Times New Roman"; font-size: 12pt }
P.ctl { font-family: "Times New Roman"; font-size: 12pt; so-language: ar-SA }
A:link { color: #0000ff; so-language: zxx }
-->
</style>
<p style="margin-bottom: 0cm; line-height: 120%" align="JUSTIFY"><font style="font-size: 11pt"><font style="font-size: 7pt"><VirtualHost *:80></font></font></p>
<p style="margin-bottom: 0cm; line-height: 120%" align="JUSTIFY"><font style="font-size: 11pt"><font style="font-size: 7pt"> LimitRequestFieldSize 50000</font></font></p>
<p style="margin-bottom: 0cm; line-height: 120%" align="JUSTIFY"><font style="font-size: 11pt"><font style="font-size: 7pt"> LimitRequestLine 50000<br>
<br>
#....etc....#</font></font></p>
<p style="margin-bottom: 0cm; line-height: 120%" align="JUSTIFY"><font style="font-size: 11pt"><font style="font-size: 7pt"></font></font><font size="-1"><font size="-1"><font style="font-size: 11pt"><font style="font-size: 7pt"></VirtualHost></font></font></font></font><br>
</p>
</font></font><font size="-1"><font size="-1"><br>
<br>
Regards,<br>
Glenn<br>
<br>
<br>
</font></font>
<div class="moz-signature">
<title></title>
</div>
On 17/01/14 17:15, Sven Schroeter wrote:<br>
</div>
<blockquote cite="mid:000e01cf1392$f4131d00$dc395700$@de" type="cite">
<pre wrap="">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"
<a class="moz-txt-link-freetext" href="http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/wms-long-url.h">http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/wms-long-url.h</a>
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
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
</blockquote>
<br>
</body>
</html>