Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So we've installed QGIS Server and things look to be working well (thanks Underdark for the great tutorial).

Next up we want to get the QGIS Web Client working. It appears we're missing a step or have misunderstood the instructions at . How do we get started? Do we copy the above files to the server and modify the links accordingly? It looks like the files in the 'site' folder establish a sample website. Is that what's happening? And that work together with the apache config to rewrite URLs in some manner?

I think i can figure this out with just a bit of a nudge in the right direction.

the WMS get Capabilities link

thanks! C

share|improve this question
This is work: localhost/qgis/… But not the Webclient. I tried also this, but no sucess: – Hanspeter Dec 17 '13 at 10:39

I've had the same problem and asked the question on stackoverflow. As I can see on your site, you hadn't change the pathes in your project.

So, you must copy /apache-conf/qgis-web-client.conf.tmpl to .../apache-conf/qgis-web-client.conf (or rename...but I don't want to risk, so I've just copied it). Then you must replace all <path-to-qgis-server-projects> in .../apache-conf/qgis-web-client.conf.tmpl with your real projects path (for example, .../projects). Then you must copy one of .../site/js/GlobalOptions.js.templ-4326 or .../site/js/GlobalOptions.js.templ-900913 (for SRID=4326 and SRID=900913 projections respectively) to .../site/js/GlobalOptions.js.

And replace all /home/web/qgis-web-client entries with your real project path in files: .../site/index.html, .../site/index.xml.tmpl (if you will use it...or just in case), .../site/js/GISProjectListing.js (this file containts pathes to your HelloWorld and NaturalEarth projects) and in .../apache-conf/qgis-web-client.conf too.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.