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