Bug report #13703
projects with relative SVG files are taken into consideration by Server relative to qgis_mapserv.fcgi
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Linux||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21730|
If you’re using the QGIS project with styling based on SVG files using relative paths then you should know that the server considers the path relative to its qgis_mapserv.fcgi file (not to the qgs file). So, if you deploy on the server a project and the SVG files are not placed accordingly, the output images may not respect the Desktop styling. To ensure this doesn’t happen, you can simply copy the SVG files relative to the qgis_mapserv.fcgi. You can also create a symbolic link in the directory where the fcgi file resides that points to the directory containing the SVG files (on Linux/Unix).
It affects 2.8, latest stable (2.12) and master.
#1 Updated by Alessandro Pasotti over 7 years ago
The current behavior is documented:
Don't forget to update the manual when fixed.