Archive for December, 2014

Getting QGIS Server to work on Windows

Anita Graser published an easy to follow guide for getting QGIS Server running on a Windows system.  There have been a few small changes since this guide was published, the biggest being Apache released version 2.4.

First up is to download Apache and the fcgi mod from Apache Lounge.

Unzip Apache to c:\, which will create C:\Apache24.  From the modules zip extract mod_fcgid.so to C:\Apache24\modules.

Copy httpd_qgis.conf from C:\OSGeoW64\httpd.d\httpd_qgis.conf to C:\Apache24\conf\extras.  Comment out lines 13 and 14 and add:

Require all granted

on a new line above </Directory>.

In c:\apache24\conf\httpd.conf add

Include conf/extra/httpd_qgis.conf

to the # Supplemental section.

 

Now if you go to the link below you should see the capabilities page for your QGIS Server installation.

http://localhost/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities