[Qgis-developer] Qgis Web Client URL rewriting and POST requests

Andreas Neumann a.neumann at carto.net
Tue Jan 27 06:08:22 PST 2015


Hi Luca,

Sorry - I am not a GET/POST specialist - so I can't help here.

You may - however - try to raise the URL length limit. There hardly any 
old browsers around there any more who still have this limit. I think 
IE9 was affected - but these days there are hardly any IE9 around 
anymore. Most have been upgraded to IE10 and IE11.

Maybe in the US there are more IE die hards, but in Europe most people 
have moved to more powerful browser alternative.

Andreas



On 27.01.2015 14:24, Luca Manganelli wrote:
> Hi,
>
> in never qgis web client versions, the requests to QGIS Server are
> converted from GET to POST if the URL length is > 2048 (as stated in
> GlobalOptions.js).
>
> The problem is one and is, for we, big:
>
> if you use the URL rewriting for i.e.
>
>    http:/test/qgiserver/project
>
> (project points to  our   /opt/projects/project.qgs)
>
> then in the POST GetMap requests, the parameter <map> is missing and
> thus QGIS Server cannot know which map file to open.
>
> Is there any way to fix this?
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list