I am reading the moodles documentation, which says that if the root data directory should be in the public html folder of the site (see that I can not create it outside it, since I do not have sufficient privileges since I use a free account), then you must chmod it before 770, and also use htaccess to protect it. Now I create a moodle inside my domain in the / moodle / folder and the moodle / moodle-uploads / uploads / downloads folder and I have the .htaccess setting in / moodle -uploads / .htaccess where its contents
order deny,allow
deny from all
as stated at
http://docs.moodle.org/20/en/Creating_Moodle_site_data_directory
But still, when I run the autoloader script, it says the data root directory is not safe
source
share