Bug report #12442

QGIS Server 2.8.1 does not work anymore under Windows

Added by Giovanni Manghi almost 8 years ago. Updated almost 8 years ago.

Category:QGIS Server
Affected QGIS version:2.8.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:20611


After installing qgis server under Windows/Osgeo4w the result is "internal server error".

The apache log says

[Tue Mar 24 19:58:30 2015] [warn] [client] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error
[Tue Mar 24 19:58:30 2015] [error] [client] Premature end of script headers: qgis_mapserv.fcgi.exe


#1 Updated by Jürgen Fischer almost 8 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

Set PYTHONHOME to %OSGEO4W_ROOT%/apps/python27

#2 Updated by Giovanni Manghi almost 8 years ago

Jürgen Fischer wrote:

Set PYTHONHOME to %OSGEO4W_ROOT%/apps/python27

ok it worked, but the apache configuration file will be updated in the osgeo4w installer or is something that will be needed to always do manually? cheers!

#3 Updated by Giovanni Manghi almost 8 years ago

Note for others who may encounter this issue.

The line to add is

DefaultInitEnv PYTHONHOME "C:/OSGeo4W/apps/python27"



Also available in: Atom PDF