[Qgis-user] Qgis server : install on Linux Debian

Andrea Giudiceandrea andreaerdna at libero.it
Sun Mar 26 17:13:27 PDT 2023


Il 26/03/2023 23:47, celati Laurent ha scritto:

> And when i enter : /
> /
> http://SERVER/cgi-bin/qgis_mapserv.fcgi 
> <http://SERVER/cgi-bin/qgis_mapserv.fcgi> 
> SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
> 
> I obtain :
> |
> 
> |This XML file does not appear to have any style information associated 
> with it. The document tree is shown below. <WMS_Capabilities 
> xmlns:sld="http://www.opengis.net/sld <http://www.opengis.net/sld>" 
> xmlns="http://www.opengis.net/wms <http://www.opengis.net/wms>" 

Good. This means that the QGIS Server and Apache web server are up and 
running and correctly respond to the request.

 > When i enter :
 > 
/http://SERVER/qgisserver?MAP=/home/qgis/projects/world.qgs&LAYERS=continents&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:4326&WIDTH=400&HEIGHT=200&BBOX=-90,-180,90,180 

 > I obtain :
 > /Not Found The requested URL was not found on this server. Apache/2.4.54
 > (Debian) Server SERVER Port 80/

It seems to me that URL is incorrect.
AFAIK it should be:

http://SERVER/cgi-bin/qgis_mapserv.fcgi?...

not:

http://SERVER/qgisserver?...

See 
https://docs.qgis.org/3.28/en/docs/training_manual/qgis_server/wms.html#getmap-requests

Probably there is a typo in the QGIS Server manual.

Best regards.

Andrea


More information about the QGIS-User mailing list