Hi there,
I've just installed the latest moodle (1.61+) onto my local laptop here and have been having some troubles after restoring a course. It seems as though links to other files aren't being rewritten to be passed through file.php.
For example, my content consists of a frameset page which defines a left hand menu, and a main content frame on the right.
Here is a snippet of the code from the frameset page as created in Dreamweaver.
<frameset cols="271,*">
<frame name="contents" target="main" src="LH_menu_index.htm">
<frame name="main" src="ABC012/ABC012_top1.htm" scrolling="auto">
</frameset>
Normally the "src" parameters of the frames (and img's, and the href's of anchor tags) are rewritten so that it looks something like:
file.php/31/ABC012/ABC012_top1.htm
...but this isn't happening on my latest install, and i'm getting 404 errors when it tries to look for http://localhost/moodle/ABC012/ABC0123_top1.htm
I've been looking at the code for file.php, but I can't seem to see exactly where it rewrites the links.
Can anyone please help?
Thanks,
Nick.
Resource types
Links not being rewritten
This discussion has been locked so you can no longer reply to it.