Bug report #13703

projects with relative SVG files are taken into consideration by Server relative to qgis_mapserv.fcgi

Added by Tudor Bărăscu over 8 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
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

Description

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.

History

#2 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#3 Updated by Jürgen Fischer over 6 years ago

  • Category set to Unknown

#4 Updated by Tudor Bărăscu over 5 years ago

  • Status changed from Open to Closed

It now works as it should on 3.3 Master

Also available in: Atom PDF