[Qgis-user] QGIS Server qgis-auth.db

Overkamp, Stefan overkamp at rvr.ruhr
Tue Jun 25 07:07:12 PDT 2019


Hi,

I'm trying to configure Authentication Configuration for QGIS Server 3.4.9

In Apache2 I have set environment variables:
FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH /mypath/withoutqgisauthdb/
FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE /mypath/withoutqgis-auth.db/

Then I Have these files
/mypath/withoutqgisauthdb/qgis-auth.db and
/mypath/withoutqgisauthdb/authpwd with masterpassword

In a local test my qgs project file opens the postgis Layers with the authcfg in qgis-auth.db

Calling a layer as wms, QGIS Server log shows:
CRITICAL Server[17067]: Layer(s) ... not valid
My environmental vars are not mentioned by QGIS Server log, instead it shows
Auth DB PATH: //.local/share/QGIS/QGIS3/profiles/default/qgis-auth.db

Has anyone a running configuration for QGIS Server using qgis-auth.db ??


Mit freundlichen Grüßen
Im Auftrag

Stefan Overkamp
Team Geodaten-Technik
Referat Geoinformation und Raumbeobachtung

Kronprinzenstraße 6
45128 Essen
T:
F:

+49 201 2069-700
+49 201 2069-369


overkamp at rvr.ruhr


[cid:image001.jpg at 01D52B6D.382312F0]
Regionalverband Ruhr
Die Regionaldirektorin

Kronprinzenstraße 35
45128 Essen
T: +49 201 2069-0
F: +49 201 2069-500
www.rvr.ruhr

Postfach 10 32 64 | 45032 Essen
Steuernummer: 112/5797/0116 | USt.-ldNr.: DE 173867500

Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E- Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190625/5f364f88/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 29783 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190625/5f364f88/attachment-0001.jpg>


More information about the Qgis-user mailing list