Well it depends, where on your system did you install Moodle?
The easiest way to install Moodle without having to delve into the httpd configuration too much is to install it under the default web directory
/var/www/html
so that would make
$CFG->dirroot="/var/www/html/moodle";
$CFG->wwwroot="http://myhost.mydomain/moodle
.assuming of course that you have a standard RedHat install for Apache/PHP etc and that you are running a reasonably new version of RedHat as these paths have a habit of changing.
Something is going on though! Your home page redirects to the moodle page - is that intentional. You might want to switch all this stuff off until its working properly
General help
login loops again
This discussion has been locked so you can no longer reply to it.