In my case i have done the same that appears in this link but the relative links do not work.
I have upload as a resource file a zip file with the whole website, then i unzip the file inside the moodle file selector, and a folder is created with all contents. Now i have selected the index.htm file and i selected it as main file.
When i click on the resource file the whole site is opened but when click on any link. it does not work.
for example:
if my moodle site is mymoodle.mydomain.es and inside the resource file i click on a link from index.htm file in order to surf to page.htm, the link recognized by moodle is: mymoodle.mydomain.es/page.htm, but this link does not work.
is it possible that when i upload the zip file and unzip it, moodle store the whole site in an unknown area and therefore the relative links do not work properly?
The whole site that i uploaded inside my old 1.9 moodle worked perfectly. if I clicked on any link of my web site, moodle 1.9 recognized the link as myoldmoodle.mydomain.es/file.php/idcoursenumber/openoffice/index.htm
where idcoursenumber is the id number of my moodle course, and folder is the folder in which the whole site is unziped.
In case of 2.6 moodle the link recognized by moodle is:
mymoodle.mydomain.es/pluginfile.php?file=/13818/Fmod_resource/content/3/openoffice/index.htm
but any link nor any css inside the index.htm is correctly recognized. If i check the HTML code of index.htm the href attributes of A elements make reference to the others htm files. They are located in the same folder.
Example: I have one of the web site files called "information.htm" in the same directory as index.htm. if i have the following link inside my index.htm: <a href="information.htm"> more information</a>, it is supposed that the link should be opened correctly but moodle recognize the link as:
mymoodle/mydomain.es/information.htm and it is showed as a broken link. This occurs with all the html files. Apparently, moodle does not recognized the path of hyperlinks. The same occurs with the CSS links so any format is applied to the web site content.