[Qgis-user] [Qgis-server 3.4] Serve project with custom Python expression

Dominique Lyszczarz domlysz at gmail.com
Wed Feb 27 00:51:02 PST 2019


Hi,

I'm trying to serve a project that use data-defined properties with an
expression using a custom Python function. Custom Python functions for
expression engine are stored in user's profile folder
(QGIS3/profiles/default/python/expression), so I've tryied to set up FCGI
environment variable (Apache) as referred in the doc (
https://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/server/config.html)
:

FcgidInitialEnv QGIS_OPTIONS_PATH
"/home/user/.local/share/QGIS/QGIS3/profiles/default"

But it does not seems to works, any idea ?

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190227/8dd8d47f/attachment.html>


More information about the Qgis-user mailing list