<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 25, 2017 at 5:01 PM, Benedikt Bonath <span dir="ltr"><<a href="mailto:b.bonath@googlemail.com" target="_blank">b.bonath@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">Hi everybody, </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have some problems to run QGIS-Server 2.99.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm not sure where the problems exactly come from: mod_fcgid, QGIS-Server or my own settings?</div><div style="font-size:12.8px">With the LTR-Version of QGIS-Server everything works just fine, so I guess the issues are in my environment variables or the current QGIS-Server itself.</div><div style="font-size:12.8px">Hopefully someone is able to answer this question.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The Systems I tried with are (both were clean before):</div><div style="font-size:12.8px">1. </div><div style="font-size:12.8px">Debian stretch</div><div style="font-size:12.8px">Own QGIS-master build AND nightly apt-packages</div><div style="font-size:12.8px">Apache (v2.4.25) with mod_fcgid (v2.3.9)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">2.</div><div style="font-size:12.8px">Windows 7</div><div style="font-size:12.8px">Latest OSGeo4W QGIS-Dev Version</div><div style="font-size:12.8px">Apache 2.4.18 with mod_fcgid (v2.3.7)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">----DEBIAN----</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">When I run the qgis_mapserv.fcgi directly in the command line, everything is fine and I get the right response back.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">##Direct Request</div><div style="font-size:12.8px">QUERY_STRING="SERVICE=WMS&VERS<wbr>ION=1.3.0&MAP=/usr/lib/cgi-<wbr>bin/test.qgs&REQUEST=GetProjec<wbr>tSettings" QGIS_SERVER_LOG_LEVEL="1" QGIS_SERVER_LOG_FILE="/tmp/qgi<wbr>s_server.log" /usr/lib/cgi-bin/qgis_mapserv.<wbr>fcgi</div><div style="font-size:12.8px">(Btw: Another Problem is to store the response of a GetMap-Request in *.png-File 'QUERY_STRING="......REQUEST=G<wbr>etMap" ./qgis_mapserv.fcgi > /tmp/test.png' because the first four lines are ASCII-Informations about QGIS Server. Maybe someone knows a solutions for that as well?)</div><div style="font-size:12.8px"><br></div></div></blockquote><div><br></div><div>I can't tell about the others, but this one is not an issue, it is how HTTP works, the first lines are part of the HTTP header, the end of the header is an empty line, the body follows.<br><br><br></div><div>Regards<br clear="all"></div></div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>