http://docs.moodle.org/en/Install#Creating_the_data_directory
Your moodledata folder should not be directly accessible via web = should be outside web root or protected with .htaccess file
http://docs.moodle.org/en/Install#Creating_the_data_directory
Your moodledata folder should not be directly accessible via web = should be outside web root or protected with .htaccess file