Hi

I think the problem is that QGIS server cannot find the QGIS libraries (because they are not in a standard location). To change this, adapt your /etc/apache2/mods-available/fcgid.conf file with 'FcgidInitialEnv LD_LIBRARY_PATH'.

As an example, here is my fcgid.conf file (with the QGIS libraries under /home/marco/src/Quantum-GIS/lib):

<IfModule mod_fcgid.c>
  AddHandler    fcgid-script .fcgi
  FcgidIOTimeout 200
  SocketPath /var/lib/apache2/fcgid/sock
  FcgidInitialEnv QGIS_LOG_FILE /tmp/qgisserver.txt
  FcgidInitialEnv LD_LIBRARY_PATH /home/marco/src/Quantum-GIS/lib
  FcgidMaxProcessesPerClass 16
  FcgidMinProcessesPerClass 16
</IfModule>

Regards,
Marco

Am 03.05.2012 10:35, schrieb bboughton:
I have tried opening up permissions on the test.qgs file as per:
http://gis.stackexchange.com/questions/14806/qgis-server-capabilities-response-doesnt-contain-any-layers
with no results. I have subscribed to SE but cannot yet respond to this
question without answering it in order to 'bump' or refresh it. Is there a
way to confirm that the server can reach the shape files?

Should I try going back to an even older version of Ubuntu or even Fedora?
Alternatively, I am considering trying GeoServer and Mapbender using uDig to
create my layer files. QGIS Server seems so much simpler if I could just get
it going. Thanks.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/QGIS-Server-Ubuntu-11-04-GetCapabilities-not-showing-layers-tp4945055p4948711.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


--
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to