After a new install, index.php re-directs to webmin on port 10000. I'm a little new to moddle, and haven't seen anything on this searching the site and google. Any suggestions?
Thanks!
Please open up the config.php file in the root folder of your Moodle site and check the setting of "$CFG->wwwroot". It should look something like the following:
$CFG->wwwroot = "http://www.myserver.com/moodle";
Is it set to something reasonable? If not, you should change it to what you think it should be.
If "$CFG->wwwroot" looks OK, can you see "webmin" mentioned anywhere else in the "config.php" file? That may give you a hint as to what needs to be changed.
$CFG->wwwroot = "http://www.myserver.com/moodle";
Is it set to something reasonable? If not, you should change it to what you think it should be.
If "$CFG->wwwroot" looks OK, can you see "webmin" mentioned anywhere else in the "config.php" file? That may give you a hint as to what needs to be changed.
That line directs to my domain, which as moodle installed in the root of my public_html dir. And unfortunately, there's no reference to port 10000 *or* webmin in the config.php. Another odd note is, if I go to domain.com/admin/index.php, it also redirects to webmin.
I don't think Moodle is redirecting you to "webmin".
- Can you access webpages on other sites ok?
e.g. http://www.google.com
- Can you access ordinary html files on your website ok?
e.g. http://www.yourdomain.com/jon.html
where "jon.html" contains the folllowing
<html><body>Hi Jon!</body></html>
- Can you access php files on your website ok?
e.g. http://www.yourdomain.com/jon.php
where "jon.php" contains the following:
<html><body>Hi Jon! <?php print "PHP is working!" ?></body></html>
Your server has mapped the URL /admin for it's own purposes.
Edit Moodle's config.php and change or add this line
$CFG->admin = 'myadmin';
where 'myadmin' is anything but 'admin'.
Edit Moodle's config.php and change or add this line
$CFG->admin = 'myadmin';
where 'myadmin' is anything but 'admin'.