Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am working to set up QGIS Server on a Windows 2008 R2 box. I have followed the steps outlined in the QGIS_Server_Tutorial. I am able to pull up the default OSGeo4w, Apache page. However, when I try to access qgis_mapser.fgci via my local host at /qgis/qgis_mapserv.fcgi.exe, I get an internal server error.

I get the same error when I try to acces my world service per the instructions via my local host at /qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:4326&REQUEST=GetMap&map=c:/myprojects/world.qgs&BBOX=-36.215710,6.817432,-9.700450,58.551008&WIDTH=500&HEIGHT=1000&LAYERS=world_countries&FORMAT=image/png.

When I check the Apache error log I get:

"(OS 109)The pipe has been ended. : mod_fcgid: get overlap result error Premature end of script headers: qgis_mapserv.fcgi.exe"

Additionally, when I try to run qgis_mapserv.fcgi.exe by double clicking on it I get the following error:

"The program can't start because qgis_core.dll is missing from your computer. Try reinstalling the program to fix this problem."

However, qgis_core.dll is located at in my OSGeo4W\apps\qgis\bin directory and QGIS Desktop runs flawlessly.

Anyone know what i going on?

Thanks, Tyler

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.