Hi guys
For security reasons I would like to place the the Config file outside the HTDOCS folder .
I tested it on testing server and it seems to work. but I am not sure whether it will have any side effects.
I created a file called db.php with all the info from config.php and placed it out side htdocs (e.g. C:/ program files / apache software foundation /apache 2.2 /private
Then I edited the file Config .php with the path to the file created above and place it inside moodle folder
<?php /// Moodle Configuration File
require_once 'c:\Program Files\Apache Software Foundation\Apache2.2\private\db.php';
?>
Please can someone suggest me a correct way of pacing Config file outside the public folder
Thank you in advance
Mo
htdocs/moodle/config.php