Is there a simple example/tutorial of how to set up QGIS Server with the latest QGIS version on Ubuntu, I can't get a correct result (blank image)? I think there might be some problem with my FASTCGI config on apache.
Please help me. Thanks.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
I have it working on Ubuntu 10.04/10.10 and 11.04. My first tutorial was this
but under Ubuntu (with all installed from repos) is even easier.
Enter the cgi-bin folder, create a project folder, copy in there the project file and a copy of qgis_mapserv.fcgi, then add a metadata file.
The qgis project MUST be saved with absolute paths (for layers).
QGIS Server main documentation is located at: http://www.qgis.org/wiki/QGIS_Server_Tutorial
Quoting the Wiki section for Ubuntu:
To setup QGIS Server with Apache 2 mod_fastcgi, the following packages are required: apt-get install qgis-mapserver libapache2-mod-fcgid
Note that libapache2-mod-fcgid and libapache2-mod-fastcgi are different packages and require different configurations.
Using the default configuration, QGIS Server should answer a GetCapabilities request from here:
I installed qgis and qgis_server using this tutorial: http://underdark.wordpress.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/
Example (step 5):
Name: Rivers url://http://localhost/cgi-bins/test/qgis_mapserv.fcgi
and then accept and voila...