Hi,

can you check if qgis_mapserv.fcgi is in /usr/lib/cgi-bin/?

Regards.

Le 27/04/2023 à 23:14, Jeremy Garniaux via QGIS-User a écrit :
Hi,

I'm trying to deploy QGIS Server on a Debian 11 VPS.
Following the doc (1)(2), I installed QGIS 3.30. Then I tested the install with

> /usr/lib/cgi-bin/qgis_mapserv.fcgi

Here's the output:

> $ /usr/lib/cgi-bin/qgis_mapserv.fcgi
> Application path not initialized
> Application path not initialized
> Application path not initialized
> Application path not initialized
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. > Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. > Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
> "Loading native module /usr/lib/qgis/server/libdummy.so"
> "Loading native module /usr/lib/qgis/server/liblandingpage.so"
> "Loading native module /usr/lib/qgis/server/libwcs.so"
> "Loading native module /usr/lib/qgis/server/libwfs.so"
> "Loading native module /usr/lib/qgis/server/libwfs3.so"
> "Loading native module /usr/lib/qgis/server/libwms.so"
> "Loading native module /usr/lib/qgis/server/libwmts.so"
> Content-Length: 0
> Location: http:/index.json
> Server:  QGIS FCGI server - QGIS version 3.30.1-'s-Hertogenbosch
> Status:  302

It's not what I expected after reading the doc but I kept going anyway, uploaded my custom QGIS project to the server, set up Apache and scrupulously followed the doc. Then I checked the availability of QGIS Server with

> http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities

...but got a 404 error.

Any suggestion on what I'm doing wrong?

Thanks for your help.

Best regards,

Jeremy


(1) https://docs.qgis.org/3.28/en/docs/server_manual/getting_started.html
(2) https://qgis.org/en/site/forusers/alldownloads.html

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to