I have installed Moodle on a server at our college that we also access via the Internet on a different IP.
At first there was a problem due to the config file www root variable. However this was fixed using some code from a previous post as below:
http://moodle.org/mod/forum/discuss.php?d=651
if ($_SERVER['SERVER_PORT'] =='80') {
$CFG->wwwroot = 'http://192.168.1.250';
} else {
$CFG->wwwroot = 'https://gate.blabla.fr' ;
}
You can also check SERVER_ADDR or HTTP_HOST.
HTH
Fred
I thought everything was fine but I have since noticed that pictures are not displayed in quiz questions because the picture URL remains fixed at the URL that the user was on when they entered the question.
Has anyone got any ideas as everything else is working like a dream?
Thanks
Darren