<div dir="ltr"><div>Hi,</div><div><br></div><div class="gmail_quote"><div dir="ltr">On Thu, 20 Sep 2018 at 14:26, Stéphane Brunner <<a href="mailto:stephane.brunner@camptocamp.com">stephane.brunner@camptocamp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><div><div class="gmail_extra"><br><div class="gmail_quote">2018-09-20 14:22 GMT+02:00 Adam Borczyk <span dir="ltr"><<a href="mailto:adam.borczyk@gis-support.pl" target="_blank">adam.borczyk@gis-support.pl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Forgot my config if it matters:<br></div><div>- Ubuntu server 18.04</div><div>- QGIS Server 2.18</div><div>- Apache 2.4.29 (config: <a href="https://pastebin.com/QnTc19Gj" target="_blank">https://pastebin.com/QnTc19Gj</a> )<br></div><div><br></div></div></div><div class="m_-2690551250331405155HOEnZb"><div class="m_-2690551250331405155h5"><br><div class="gmail_quote"><div dir="ltr">On Thu, 20 Sep 2018 at 14:19, Adam Borczyk <<a href="mailto:adam.borczyk@gis-support.pl" target="_blank">adam.borczyk@gis-support.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi everyone,</div><div>is it expected behaviour for QGIS Server 2.18 to ignore MAP parameter in URL when QGIS_PROJECT_FILE environment variable is set? <br></div></div></div></div></blockquote></div></div></div></blockquote><div><br></div><div>Yes, because I want to publish only one project, we don't want that a user can build a request to access to an other project...</div></div></div></div></div></blockquote><div><br></div><div>I think this could be written more explicitly in the documentation that it is the purpose of setting environment variable and that it cannot be overriden. Anyway, thanks for your help, thing is clear now.</div><div><br></div><div>Best regards</div><div>Adam<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Sincerely</div><div>Stéphane<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-2690551250331405155HOEnZb"><div class="m_-2690551250331405155h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div><div><br></div><div>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.</div><div><br></div><div>I though Environment Variable works as default option that you can override, but it seems it doesn't?<br></div><div><br></div><div>Best regards</div><div>Adam Borczyk<br></div><div><div><div dir="ltr" class="m_-2690551250331405155m_-6629127715166395299m_5066520464587998257gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><div dir="ltr" style="font-weight:normal;margin-left:0pt"><table style="border:medium none;border-collapse:collapse"><tbody><tr style="height:0pt"><td style="font-family:arial,sans-serif;margin:0px;vertical-align:top;padding:5pt"><br></td><td style="font-family:arial,sans-serif;margin:0px;vertical-align:top;padding:5pt"><br></td></tr></tbody></table></div></b></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>
</div></div><br>_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="m_-2690551250331405155gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><pre style="white-space:pre-wrap;font-family:"comic sans ms",sans-serif"><div style="font-family:Helvetica;white-space:normal;font-size:medium"><div dir="ltr"><div style="word-wrap:break-word"><div style="font-size:12.8px"><div style="font-size:12.8px;font-family:Helvetica;word-wrap:break-word"><div style="font-weight:bold"><font size="2"><span style="color:rgb(141,141,148);font-weight:normal"><b>Stéphane Brunner</b></span></font></div></div><div style="font-size:12.8px;font-family:Helvetica;word-wrap:break-word"><font color="#8d8d94"><font size="2">Geospatial Solutions <br></font></font></div><div style="font-size:12.8px;font-family:Helvetica;word-wrap:break-word"><font color="#8d8d94"><font size="2">Software Developer</font></font></div><div style="font-size:12.8px;font-family:Helvetica;word-wrap:break-word"><font color="#8d8d94"><font size="2"><br></font></font></div></div><div style="font-size:12.8px"><b style="font-family:Helvetica;font-size:12.8px"><font size="6"><span style="color:rgb(141,141,148)">camp</span><font color="#f57d37">to</font><font color="#8d8d94">camp</font></font></b><br></div><span><div style="font-family:Helvetica;font-size:12.8px;word-wrap:break-word"><div><font size="2" color="#8d8d94">INNOVATIVE SOLUTIONS</font></div><div><font size="2" color="#8d8d94">BY OPEN SOURCE EXPERTS</font></div></div></span></div></div></div></pre></div><div><a href="http://camptocamp.com/" target="_blank">camptocamp.com</a><br><a href="http://mapfish.org" target="_blank">mapfish.org</a><br></div></div></div></div></div>
</div></div></div>
</blockquote></div></div>