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

Advertisements
  1. not able to start apache after the above modification.Please help..

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: