I've just succeded installing moodle on my red hat 8. It seems running preety smooth on this box. The only problem is I can not access it through my other pcs (Windows XP). Before having moodle on it my web server is running well.
please help......
Tell us more about what you have been doing.
For example, this RedHat server. Is it in a LAN, or does it have a public IP-address, a DNS-name, or all of them?
Wenn you say, your web-server was working, how did you test.
Now these XP-boxes which cannot "access" Moodle: How do you try to access Moodle? I know, you type a URL on to a browser ;) But how does this URL look like in your case?
For example, this RedHat server. Is it in a LAN, or does it have a public IP-address, a DNS-name, or all of them?
Wenn you say, your web-server was working, how did you test.
Now these XP-boxes which cannot "access" Moodle: How do you try to access Moodle? I know, you type a URL on to a browser ;) But how does this URL look like in your case?
first of all thanx for your reply.
For a start let me explain the scenario. I am a teacher in one of the secondary school in malaysia. I am the ICT coordinator of my school computer lab and network. I am planning to use some sort of e-learning system for my school local network, and luckily I found moodle. Before I really get into business of setting up the system in school I tried it on my home pcs. I have 2 pcs and one laptop. 1 is running RedHat 8 workstation while others are running windows XP. They are not using public IP address neither DNS name.Before I have moodle installed, I can access the apache web server test page and a few .php (RH 8) on my other pcs by typing the address (http://xx.x.x.xx or http://localhost or http://localhost/something.php).
The first time I set up moodle I use localhost as the wwwroot but now I change to xx.x.x.xx. The result is still the same.
Below is my config.php and I will attach http.conf for your referrence.
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'moodleuser';
$CFG->dbpass = 'moodlepass';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://10.1.1.10/moodle';
$CFG->dirroot = '/var/www/html/moodle';
$CFG->dataroot = '/usr/moodle_data';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>
For a start let me explain the scenario. I am a teacher in one of the secondary school in malaysia. I am the ICT coordinator of my school computer lab and network. I am planning to use some sort of e-learning system for my school local network, and luckily I found moodle. Before I really get into business of setting up the system in school I tried it on my home pcs. I have 2 pcs and one laptop. 1 is running RedHat 8 workstation while others are running windows XP. They are not using public IP address neither DNS name.Before I have moodle installed, I can access the apache web server test page and a few .php (RH 8) on my other pcs by typing the address (http://xx.x.x.xx or http://localhost or http://localhost/something.php).
The first time I set up moodle I use localhost as the wwwroot but now I change to xx.x.x.xx. The result is still the same.
Below is my config.php and I will attach http.conf for your referrence.
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'moodleuser';
$CFG->dbpass = 'moodlepass';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://10.1.1.10/moodle';
$CFG->dirroot = '/var/www/html/moodle';
$CFG->dataroot = '/usr/moodle_data';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>
I've noticed that you've crossposted it hier: http://moodle.org/mod/forum/discuss.php?d=24589
That is the correct place, so please do the follow-up there!
That is the correct place, so please do the follow-up there!