title: QuantumGIS MapServer and Web Client can not display standard HelloWorld Map
body: <p>I have Kubuntu 12.04.
  I've installed QGIS MapServer according to the <a href="http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial#Webserver-configuration" rel="nofollow">tutorial</a>:</p>
  
  <pre><code>apt-get install qgis-mapserver libapache2-mod-fcgid
  </code></pre>
  
  <p>(And I also have a working apache2 server)</p>
  
  <p>Then I've got a QGIS Web Client from <a href="https://github.com/qgis/qgis-web-client" rel="nofollow">git</a>, configured it according to these steps:</p>
  
  <blockquote>
    <ul>
    <li>sudo apt-get install apache2 libapache2-mod-fcgid</li>
    <li>cp apache-conf/qgis-web-client.conf.tmpl apache-conf/qgis-web-client.conf</li>
    </ul>
    
    <p>Update the paths in the copied file then:</p>
    
    <ul>
    <li>cd /etc/apache2/sites-available/</li>
    <li>ln -s  .</li>
    <li>sudo a2enmod rewrite</li>
    <li>sudo a2ensite qgis-web-client.conf</li>
    <li>sudo /etc/init.d/apache2 reload</li>
    <li>Check the symlink in cgi-bin is correct</li>
    <li>Check the QGIS libs are in your /etc/ld.so.conf path</li>
    <li>Copy site/index.xml and check paths match your system OR   Modify index.html and point your browser to that</li>
    </ul>
  </blockquote>
  
  <p>I don't understand what must be in the <strong>/etc/ld.so.conf</strong> path - maybe it is a problem? If I'm right, what am I must do to solve the problem? I have installed QuantumGIS but not from the source, but can it be so critical?</p>
  
  <p>And also I have <strong>Internal Server Error</strong> on <a href="http://local.host/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetCapabilities" rel="nofollow">http://local.host/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetCapabilities</a>. Is it normal?</p>
  
  <p>I've copied the <em>qgis-web-client/js/GlobalOptions.js.templ-4326</em> to <em>qgis-web-client/js/GlobalOptions.js</em> and nothing else.</p>
  
  <p>So, here is a problem:
  I go to my <a href="http://local.host/qgis-web-client/site/" rel="nofollow">http://local.host/qgis-web-client/site/</a>, select the map (HelloWorld, NaturalEarth - doesn't matter), then I have a QGIS-Browser window. Very pretty but without any maps and layers - only message "<em>Loading Map...</em>". I've opened Chrome Debugger and followed the link <a href="http://local.host/cgi-bin/qgis_mapserv.fcgi?map=/home/web/qgis-web-client/projects/helloworld.qgs&amp;&amp;_dc=1373135966552&amp;SERVICE=WMS&amp;VERSION=1.3&amp;REQUEST=GetProjectSettings" rel="nofollow">http://local.host/cgi-bin/qgis_mapserv.fcgi?map=/home/web/qgis-web-client/projects/helloworld.qgs&amp;&amp;_dc=1373135966552&amp;SERVICE=WMS&amp;VERSION=1.3&amp;REQUEST=GetProjectSettings</a>.</p>
  
  <p>And I've seen this:</p>
  
  <pre><code>&lt;ServiceExceptionReport xmlns="http://www.opengis.net/ogc" version="1.3.0"&gt;
  &lt;ServiceException code=""&gt;
  Configuration file problem : perhaps you left off the .qgs extension?
  &lt;/ServiceException&gt;
  &lt;/ServiceExceptionReport&gt;
  </code></pre>
  
  <p>So, the question is how to display map in QGIS Web Client.</p>