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

Marco Hugentobler marco.hugentobler at sourcepole.ch
Tue Jan 27 13:23:43 PST 2015


Hi Luca

In 'Sourcepole QGIS Enterprise', we solved this problem by modifying the 
server to read the map-parameter from GET and the other parameters from 
POST. I can port this to master branch.

Regards,
Marco

Am 27.01.2015 um 14:24 schrieb Luca Manganelli:
> 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


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-developer mailing list