Moodle: Mengubah Hostname atau wwwroot

From OnnoWiki
Revision as of 07:37, 15 July 2011 by Onnowpurbo (talk | contribs) (New page: Kadangkala kita perlu mengubah IP address atau hostname server Moodle, kita perlu mengedit vi /var/www/moodle/config.php Ubah $CFG->wwwroot = 'http://localhost/moodle'; M...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Kadangkala kita perlu mengubah IP address atau hostname server Moodle, kita perlu mengedit

vi /var/www/moodle/config.php 

Ubah

$CFG->wwwroot   = 'http://localhost/moodle';

Menjadi (misalnya)

$CFG->wwwroot   = 'http://192.168.0.254/moodle';
$CFG->wwwroot   = 'http://sekolah.sch.id/moodle';

Pranala Menarik