Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-04 Thread Richard Duivenvoorde
On 2/4/21 9:17 AM, Alessandro Pasotti wrote: >> So contrary to my complaint of the many VARS, I would be in favor or a >> SERVER_BASE_PATH or so > I agree, feel free to add a feature request or a PR. Ok: https://github.com/qgis/QGIS/issues/41354 will try after 3.18 release... Richard

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-04 Thread Alessandro Pasotti
On Wed, Feb 3, 2021 at 10:19 PM Richard Duivenvoorde wrote: > > On 2/3/21 5:47 PM, Alessandro Pasotti wrote: > >> But I still fail to see the same "QGIS Server Catalog" when I run it in > >> cgi-bin. > >> > >> I do see that in the docker there seems to be some redirection? The config > >> works

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-03 Thread Richard Duivenvoorde
On 2/3/21 5:47 PM, Alessandro Pasotti wrote: >> But I still fail to see the same "QGIS Server Catalog" when I run it in >> cgi-bin. >> >> I do see that in the docker there seems to be some redirection? The config >> works for localhost/ but I think most peeps will (at least try) first in >>

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-03 Thread Alessandro Pasotti
On Wed, Feb 3, 2021 at 5:23 PM Richard Duivenvoorde wrote: > > On 2/3/21 2:20 PM, Alessandro Pasotti wrote: > > Hi Richard, > > > > I've put up an example with Apache here: > > https://github.com/elpaso/qgis-server-docker > > > > Landing page works out of the box and there is a sample project

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-03 Thread Richard Duivenvoorde
On 2/3/21 2:20 PM, Alessandro Pasotti wrote: > Hi Richard, > > I've put up an example with Apache here: > https://github.com/elpaso/qgis-server-docker > > Landing page works out of the box and there is a sample project too. > > I'm also having problems seeing the logs from QGIS into the apache

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-03 Thread Alessandro Pasotti
Hi Richard, I've put up an example with Apache here: https://github.com/elpaso/qgis-server-docker Landing page works out of the box and there is a sample project too. I'm also having problems seeing the logs from QGIS into the apache logs though but I cannot spend more time on that now, I don't

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-02 Thread Alessandro Pasotti
On Tue, Feb 2, 2021 at 3:16 PM Richard Duivenvoorde wrote: > > On 2/2/21 2:39 PM, Alessandro Pasotti wrote: > > > Have a look to > > https://docs.qgis.org/3.16/en/docs/server_manual/config.html#environment-variables > > > > You are also using the deprecated QGIS_SERVER_LOG_FILE, use > >

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-02 Thread Richard Duivenvoorde
On 2/2/21 2:39 PM, Alessandro Pasotti wrote: > Have a look to > https://docs.qgis.org/3.16/en/docs/server_manual/config.html#environment-variables > > You are also using the deprecated QGIS_SERVER_LOG_FILE, use > QGIS_SERVER_LOG_STDERR instead. > > And: QGIS_SERVER_LOG_LEVEL=0 as explained in

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-02 Thread Alessandro Pasotti
Unless you have custom resources (templates) this is definitely wrong: export QGIS_SERVER_API_RESOURCES_DIRECTORY="/tmp/resources" Have a look to https://docs.qgis.org/3.16/en/docs/server_manual/config.html#environment-variables You are also using the deprecated QGIS_SERVER_LOG_FILE, use

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-02 Thread Richard Duivenvoorde
On 2/2/21 1:58 PM, Alessandro Pasotti wrote: > This looks bad: > > ./src/core/qgsproviderregistry.cpp:179 : (init) [0ms] No dynamic QGIS > data provider plugins found in: > /usr/lib/qgis/plugins > and: > No authentication methods can be used. Check your QGIS installation > Fix your prefix path.

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-02 Thread Alessandro Pasotti
This looks bad: ./src/core/qgsproviderregistry.cpp:179 : (init) [0ms] No dynamic QGIS data provider plugins found in: /usr/lib/qgis/plugins and: No authentication methods can be used. Check your QGIS installation Fix your prefix path. QGIS_SERVER_API_RESOURCES_DIRECTORY is for overrides, if

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-02 Thread Richard Duivenvoorde
On 2/2/21 12:41 PM, Alessandro Pasotti wrote: > On Tue, Feb 2, 2021 at 12:34 PM Richard Duivenvoorde > wrote: >> >> Hi (Server)Devs, >> >> When I run the minimal qgis_mapserver and go to http://localhost:8000 QGIS >> server presents me the nice "QGIS Server Catalog" landingpage. >> >> But

Re: [QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-02 Thread Alessandro Pasotti
On Tue, Feb 2, 2021 at 12:34 PM Richard Duivenvoorde wrote: > > Hi (Server)Devs, > > When I run the minimal qgis_mapserver and go to http://localhost:8000 QGIS > server presents me the nice "QGIS Server Catalog" landingpage. > > But installing (the exact same) qgis server as fast-cgi in my local

[QGIS-Developer] QGIS server landing page when running as fastcgi?

2021-02-02 Thread Richard Duivenvoorde
Hi (Server)Devs, When I run the minimal qgis_mapserver and go to http://localhost:8000 QGIS server presents me the nice "QGIS Server Catalog" landingpage. But installing (the exact same) qgis server as fast-cgi in my local apache I do NOT get that Do I have to enable the QGIS_PLUGINPATH