[QGIS-Developer] QGIS Server QGIS_PROJECT_FILE ignoring MAP parameter?

Adam Borczyk adam.borczyk at gis-support.pl
Fri Sep 21 02:40:48 PDT 2018


Hi, the config is pasted here: https://pastebin.com/QnTc19Gj
Best regards

On Fri, 21 Sep 2018 at 08:24, Lewis Villierme puputauki <
lvilliermepuputauki at clermontmetropole.eu> wrote:

> Hi Adam,
>
> Can you paste your apache conf file ?
> best regard
>
> Le 2018-09-20 14:22, Adam Borczyk a écrit :
>
> Forgot my config if it matters:
> - Ubuntu server 18.04
> - QGIS Server 2.18
> - Apache 2.4.29 (config: https://pastebin.com/QnTc19Gj )
>
>
> On Thu, 20 Sep 2018 at 14:19, Adam Borczyk <adam.borczyk at gis-support.pl>
> wrote:
>
>> Hi everyone,
>> is it expected behaviour for QGIS Server 2.18 to ignore MAP parameter in
>> URL when QGIS_PROJECT_FILE environment variable is set?
>>
>> I have QGIS_PROJECT_FILE set, so my endpoint "/wms" serves default
>> project, but I'd like to access another project from the same endpoint -
>> I'm trying here with just specifying MAP parameter, but changing it's value
>> does not affect response in any way. In fact, I can do "&MAP=asdfasdf" and
>> still get default project, while changing other parameters works normally.
>>
>> I though Environment Variable works as default option that you can
>> override, but it seems it doesn't?
>>
>> Best regards
>> Adam Borczyk
>>
>>
>
> _______________________________________________
> QGIS-Developer mailing listQGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180921/76caa04c/attachment.html>


More information about the QGIS-Developer mailing list