Moodle was installed normally. All configurations is OK. But after installation it is problem with opening main page. Internal Server Error. Why?
Site: http://media.gym1512.ru/
Phpinfo: http://media.gym1512.ru/info.php
It is fragment of Moodle Configuration File:
------------------------------------------
unset($CFG);
...DB Settings...
$CFG->wwwroot = 'http://media.gym1512.ru';
$CFG->dirroot = '/www/gym1512/users/gym1512-media/www/htdocs';
$CFG->dataroot = '/www/gym1512/users/gym1512-media/www/htdocs/moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
$CFG->unicodedb = true; // Database is utf8
require_once("$CFG->dirroot/lib/setup.php");
-------------------------------------------
Hi Illianor
That error message is usually suggesting that there is something wrong with the .htaccess file. Can you take a look at the file /www/gym1512/users/gym1512-media/www/htdocs/.htaccess, and comment out any lines that relate to Apache2 with a #,e.g.
#<IfDefine APACHE2> # AcceptPathInfo on #</IfDefine>
Also, it is good security to place your $CFG->dataroot outside your htdocs folder. Can you try changing it to:
$CFG->dataroot = '/www/gym1512/users/gym1512-media/www/moodledata';
Hope this helps!
Ken