Sir,
Can you verify the following for this server? Because I am unable to create a data directory for this training site? To create a data directory the following should be implemented.
Thanks, Deana
---------------------------------------------------------------------------
4. Create a data directory
Moodle will also need some space on your hard disk to store uploaded files, such as course documents and user pictures.
Create a directory for this purpose somewhere. For security, it's best that this directory is NOT accessible directly via the web. The easiest way to do this is to simply locate it OUTSIDE the web directory, otherwise protect it by creating a file in the data directory called .htaccess, containing this line:
deny from all
To make sure that Moodle can save uploaded files in this directory, check that the web server software (eg Apache) has permission to write to this directory. On Unix machines, this means setting the owner of the directory to be something like "nobody" or "apache".
On many shared hosting servers, you will probably need to restrict all file access to your "group" (to prevent other webhost customers from looking at or changing your files), but provide full read/write access to everyone else (which will allow the web server to access your files). Speak to your server administrator if you are having trouble setting this up securely.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks