[Qgis-user] QGIS Server installation on Windows via XAMPP

Alessandro Pasotti apasotti at gmail.com
Wed Apr 15 02:44:24 PDT 2020


On Wed, Apr 15, 2020 at 11:39 AM Franko Naimarevic
<Franko.Naimarevic at ulb.ac.be> wrote:
>
> Hello,
>
> I'm trying to setup QGIS Server on my computer (Windows10) to experiment
> with how it works.
> I managed to get it running locally using XAMPP, following the official
> guide
> (https://docs.qgis.org/3.10/en/docs/user_manual/working_with_ogc/server/getting_started.html#installation-on-windows).
>
> I clicked
> http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0REQUEST=GetCapabilities
> as the guide suggests, and got "Layer(s) not valid", but I figured that
> the server was working, since I wasn't getting a "not found" error of
> some sorts.
>
> I then wanted to load my own map, but the guide doesn't really explain
> how to do it. After searching around on the internet, I tried:
> http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?MAP=/OSGeo4W64/apps/qgis/bin/MAPNAME.qgs
>
> but got a "Project file error".
>
> What am I missing?

The web server component (apache or nginx or any other webserver you
can plug FCGI into).

FCGI binary is not an HTTP server.

If you have QGIS 3.12 you can try the standalone development server (I
have not tested it on windows but it may work), the executable name
should be qgis_mapserver.exe.


>
>
> Thanks for your help!
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Alessandro Pasotti
w3:   www.itopen.it


More information about the Qgis-user mailing list