Ok, thanks a lot for that fast answer. Maybe this question should have been formulated different. Thats for sure not an issue of QGIS - I was just wondering how I can save the GetMap-response in a valid *.png by requesting the *.fcgi directly. But just in case the solution is in someone mind already, it would be great to know. Otherwise I will figure that out someday later.
Regards Benedikt 2017-07-25 17:18 GMT+02:00 Alessandro Pasotti <[email protected]>: > On Tue, Jul 25, 2017 at 5:01 PM, Benedikt Bonath <[email protected]> > wrote: > >> Hi everybody, >> >> I have some problems to run QGIS-Server 2.99. >> >> I'm not sure where the problems exactly come from: mod_fcgid, QGIS-Server >> or my own settings? >> 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. >> Hopefully someone is able to answer this question. >> >> The Systems I tried with are (both were clean before): >> 1. >> Debian stretch >> Own QGIS-master build AND nightly apt-packages >> Apache (v2.4.25) with mod_fcgid (v2.3.9) >> >> 2. >> Windows 7 >> Latest OSGeo4W QGIS-Dev Version >> Apache 2.4.18 with mod_fcgid (v2.3.7) >> >> >> ----DEBIAN---- >> >> When I run the qgis_mapserv.fcgi directly in the command line, everything >> is fine and I get the right response back. >> >> ##Direct Request >> QUERY_STRING="SERVICE=WMS&VERSION=1.3.0&MAP=/usr/lib/cgi-bin >> /test.qgs&REQUEST=GetProjectSettings" QGIS_SERVER_LOG_LEVEL="1" >> QGIS_SERVER_LOG_FILE="/tmp/qgis_server.log" >> /usr/lib/cgi-bin/qgis_mapserv.fcgi >> (Btw: Another Problem is to store the response of a GetMap-Request in >> *.png-File 'QUERY_STRING="......REQUEST=GetMap" ./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?) >> >> > 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. > > > Regards > > -- > Alessandro Pasotti > w3: www.itopen.it >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
