Mmmm .... i guess no. I define an environment variabile in the Service file that start the web engine.
Also set the web engine to retrieve the vars from environment. Il 21 ott 2016 15:43, "Paolo Cavallini" <cavall...@faunalia.it> ha scritto: > > Hi Andrea, > aparently qgis does not see the environment I defined. How did you > define it? Did you follow: > > nano /etc/apache2/sites-enabled/nameofthevirtualhost > SetEnv QGIS_OPTIONS_PATH "/qgis_conf/" > > ? > Thanks. > > Il 21/10/2016 11:31, Andrea Peri ha scritto: > > Hi Paolo, > > this is a sample from the qgis.ini in ou qgis-server environment. > > > > It map two paths for svg: the svg for our Geological DB and the path > > for out DBTopographics 2K scale DB. > > > > > > [svg] > > searchPathsForSVG=/home/...path-to.../qgis-settings/svg/simbologie_continuum_geologia_regione_toscana|/home/archivio/server/qgis-settings/svg/simboli_dbt10k_rt_svg|/home/...path-to.../qgis-settings/svg/simboli_rt_dbt2k_v0 > > > > every single path is separated using a | char > > > > regards, > > A. > > > > > > > > > > 2016-10-21 9:16 GMT+02:00 Paolo Cavallini <cavall...@faunalia.it>: > >> Hi all, > >> I have a project with custom symbols stored in a path on a Windows > >> machine, in a location of the type E:\symbols\svg. I need to use these > >> for a server project. I added the conf on the Debian server: > >> > >> mkdir -p /qgis_conf/QGIS > >> nano /etc/apache2/sites-enabled/nameofthevirtualhost > >> SetEnv QGIS_OPTIONS_PATH "/qgis_conf/" > >> chown www-data /qgis_conf > >> nano /qgis_conf/QGIS/QGIS2.ini > >> # add: > >> [svg] > >> searchPathsForSVG=/path/to/svg1|/path/to/svg2 > > > -- > Paolo Cavallini - www.faunalia.eu > QGIS & PostGIS courses: http://www.faunalia.eu/training.html > https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer