[Qgis-user] [Qgis-server 3.4] Serve project with custom Python expression
Alessandro Pasotti
apasotti at gmail.com
Wed Feb 27 03:21:24 PST 2019
On Wed, Feb 27, 2019 at 9:51 AM Dominique Lyszczarz <domlysz at gmail.com>
wrote:
> 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 ?
>
QGIS_OPTIONS_PATH is the path to QGIS3.ini (which contains the user
settings), not the path to the profile folder.
QGIS_CUSTOM_CONFIG_PATH is what are you probably looking for.
Hope this helps.
> Thanks in advance
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190227/630e71a5/attachment.html>
More information about the Qgis-user
mailing list