[QGIS-Developer] QGIS-Server 2.99: Apache Internal Server Error
Alessandro Pasotti
apasotti at gmail.com
Tue Jul 25 08:18:23 PDT 2017
On Tue, Jul 25, 2017 at 5:01 PM, Benedikt Bonath <b.bonath at googlemail.com>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170725/b3ba289c/attachment.html>
More information about the QGIS-Developer
mailing list