Missatges enviats per Howard Miller

Imatge Core developers Imatge Documentation writers Imatge Particularly helpful Moodlers Imatge Peer reviewers Imatge Plugin developers
Mmmm... more information.

My html pages look like this...
sec1.html
sec2.html
sec3.html

navigation at the top of each page points to the other pages relatively...
e.g. href="sec2.html".

Now, my moodle site originates at something like...
http://host.domain/moodle

When I mouse-over the link the status bar at the bottom of the browser says this....
http://host.domain/moodle/sec2.html

This cannot possibly be correct! Moodle loads the first page (correctly) with the following link from the frame...

http://host.domain/moodle/file.php?file=/3/test_pages/sec1.html

Confused..... very....
Imatge Core developers Imatge Documentation writers Imatge Particularly helpful Moodlers Imatge Peer reviewers Imatge Plugin developers
Mmmm... doesn't work for me!

I did this....

I set up the web pages and images, all with relative links and tested it all outside of moodle.

I zipped it, uploaded it into moodle. All ok.. so far so good.

In Activities I selected "Add a Resource", chose "uploaded file". On the next page, I selected the index page of my mini-site.

The index page loads but nothing that it links to is accessible.

I have tried to load the page in-situ where it has been uploaded on the server, and it works fine.

Any thoughts as to what I am doing wrong much appreciated!

Moodle in English -> General help -> Subfolders and HTML Links

per Howard Miller -
Imatge Core developers Imatge Documentation writers Imatge Particularly helpful Moodlers Imatge Peer reviewers Imatge Plugin developers
Can I do this?.....

I uploaded a file called, say, test.html.

it has an element within...
logo.jpg

so, I created a sub-folder called "images" and loaded "logo.jpg" into it. It doesn't work! Can I do this kind of thing?

I suppose in general can I put links to other documents/images inside a html file?

Even more generally - how do you tell where resources will be from the standpoint of a HTML link. For example, I have seen forum messages on the moodle site that link to external resources. How is that accomplished?
Mitjana de qualificacions: -
Imatge Core developers Imatge Documentation writers Imatge Particularly helpful Moodlers Imatge Peer reviewers Imatge Plugin developers
I am runnning Moodle on Redhat 8.0.

If in the files section I create a sub-folder, it works BUT it is created without the X bit set for the user (the parent directory being owned by the Apache user).

The upshot of this is that it is impossible to upload any files into sub-folders. Is this a bug or have I got something set up wrongly somewhere?

Thanks
Mitjana de qualificacions: -