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.
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...
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?