[Qgis-user] QGIS-Server: Premature end of script headers: qgis_mapserv.fcgi.exe

Kai Volland kaivolland at yahoo.de
Tue Oct 9 02:04:05 PDT 2012


My QGIS-Server is still ain't running.

I copied the dlls like it is explained in the example from the link is 
posted.
My DefaultInitEnv PATH seems to be ok, but there is no "grass"-folder in 
my directory.

C:\OSGeo4W\bin;C:\OSGeo4W\apps\qgis\bin;C:\OSGeo4W\apps\grass\grass-6.4.2\bin;C:\OSGeo4W\apps\grass\grass-6.4.2\lib;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem

I don't think this is the problem. Or is it?

kind regards

Kai

Am 05.10.2012 13:25, schrieb Goyo:
> I´m facing the same problem. QGis libraries are not in the system path
> since the OSGeo4w installer does not change it. OSGeo4w applications
> usually are run from a batch script which sets the needed environment
> variables.
>
> QGIS bin directory is in the path defined in D:\OSGeo4w\httpd.d\httpd_qgis.conf:
>
> DefaultInitEnv PATH
> "D:\OSGeo4w\bin;D:\OSGeo4w\apps\qgis\bin;D:\OSGeo4w\apps\grass\grass-6.4.2\bin;D:\OSGeo4w\apps\grass\grass-6.4.2\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem"
>
> Shouldn't this be enough?
>
> Goyo
>
> 2012/10/1 G. Allegri <giohappy at gmail.com>:
>> Have you checked that the QGis libraries (qgis_core.dll, etc.) are on your
>> system PATH?
>>
>> giovanni
>>
>>
>> 2012/10/1 Kai Volland <kaivolland at yahoo.de>
>>> Hi,
>>>
>>> i'm trying to install the QGIS-Server on my local machine (win 7) and a
>>> testserver. In both cases i get a 500 internal server error: Error-log:
>>> "Premature end of script headers: qgis_mapserv.fcgi.exe"
>>>
>>> I'installed the server following this guide:
>>>
>>> http://underdark.wordpress.com/2012/04/06/qgis-server-on-windows7-step-by-step/
>>>
>>> But the GetCapabilities-Request doesn't work.
>>> On the local machine i already get a 500 server when looking at
>>> http://localhost/qgis/qgis_mapserv.fcgi.exe.
>>>
>>> Kind regards,
>>>
>>> Kai
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>




More information about the Qgis-user mailing list