Hi Kim,

you posted this two weeks ago already and Andrea Giudiceandrea answered to you with

> it seems to me the capabilities XML file attached to your message has nothing wrong > and demonstrates that the WMS served by QGIS is working correctly: the "airports", > "places", "countries" and "countries_shapeburst" layers are exposed by the WMS.

The only new information you added now is

> I have also tried it with the QGIS directory within my home directory - no difference.

Have you actually tried to load the WMS server you created as a WMS server in QGIS? A web browser does not know WMS, it just sees the messages used by WMS (in XML) and does not know anything special (or spatial) about it. To use a WMS you need a client capable of "speaking" WMS, such as QGIS.

Please be aware that this is the developers mailing list, user questions might be more suitable for qgis-user. :)

Cheers, Hannes

Am 10.02.22 um 08:43 schrieb Kim Lyon:
Hi,
     I have a basic installation problem with QGIS.

I am setting up an Intel server running Ubuntu Linux 20.04 with an Apache2 HTTP server for our local volunteer Bush Fire Brigades in Margaret River, Western Australia.

Everything seems to be operational with the exception of QGIS on the HTML \ HTTP web server side.

I have created a separate QGIS directory in the home directory area and have set the user and group ownership to the operating user and group (administrator). There do not seem to be any permissions problems.

Within this directory I have placed the projects directory and there is a qgisserverdb directory.

The default .qgs file is set to /home/qgis/projects/world.qgs .

I have also tried it with the QGIS directory within my home directory - no difference.

The QGIS desktop application is installed and is running ok. It displays the world.qgs file without any problems with the exception of an older version warning.

If I use either URL

http://qgis/cgi-bin/qgis_mapserv.fcgi?service=WMS&request=GetCapabilities

or

http://qgis/cgi-bin/qgis_mapserv.fcgi?service=WMS&request=GetCapabilities&map=/home/qgis/projects/world.qgs

in the browser (Chromium or Firefox) I get the following error message :-

   This XML file does not appear to have any style information associated with it. The document tree is shown below.

followed by the attached XML file.

How do I solve this problem? I have looked extensively on the Internet and have not been able to find a solution.

Many Thanks

Yours Sincerely

Kim Lyon

kim.lyon@baremetal.systems

MargaretRiver.info <https://margaretriver.info/>





_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer

--
Johannes Kröger / GIS-Entwickler/-Berater
WhereGroup GmbH
Grevenweg 89
20537 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------

---------------------------------------------
Schon gewusst?

In unserem Blog geben wir Tipps & Tricks zu
 Open-Source-GIS-Software
und berichten aus unserem Experten-Alltag:
https://wheregroup.com/blog/
---------------------------------------------

Attachment: OpenPGP_0xBF7B268A77C202D5.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to