I've adopted the solution of a symlink in every course folder pointing to a common_files directory within the data directory. We even added some code sothat moodle creates that link automatically with every new course.
It works fine for one file, but the links within the file won't work.
For example, if I have an "a.html" page in the common_files directory with a link in it pointing to a "b.html" file next to it (href="b.html"), and if I add a.html as a resource in course 2, a.html is being called alright, but the link to b.html won't work. (it'll appear in the browser as "sitename/file.php/2/common_files/b.html").
Most of my content is based on combined html files I'm reusing in many courses, so I badly need to have the whole thing work.
Can anyone help out on this one? Thanks a lot