Matt, thanks for the reply. I'm trying the file system repository but I must have done something wrong as the relative hyperlinks within the files I've uploaded are not working. Here's what I did.
I enabled the filesystem repository, which made the directory /usr/local/moodledata/respositories.
I made a directory called test5 within respositories, and uploaded a pile of files there using rsync. I checked all the Linux file permissions were sensible for access by the www-data group.
Back in moodle, I gave test5 a repository name Test5. I set "all files in the repository to be accessible using relative links" true.
In my course, I added a label. In the label I added some text. I highlighted the text and added a hyperlink. I clicked on the file browser icon next to the URL field.
The file picker comes up, I chose Test5 and selected index.html from inside the Test5 repository. When selecting the file, I chose "Create an alias/shortcut to the file" instead of "Make a copy of the file".
After inserting the link and saving the tag, I try the hyperlink which works and I see the file's contents with the URL: http://website/pluginfile.php/168/mod_label/intro/index.html
However, clicking on any relative hyperlink in that file gives: Sorry, the requested file could not be found.
So, something I'm doing is not allowing the correct moodle URL to be saved in the hyperlink in the label. Is there something obvious that I'm doing wrong?
Many thanks in advance for any help you can provide!