Newbie error - data directory maybe visible

Hi all,

This maybe be in the completely wrong place but I have got a dlink sharecenter, model d320L and have just activated the owncloud server addon.

I logged in and I was greeted by the following warning, does anyone know what it means and how to fix.

" Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. We strongly suggest that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root."

Nathan

https://doc.owncloud.org/server/latest/admin_manual/maintenance/manually-moving-data-folders.html?highlight=data%20directory

Please abstain from posting just a link without explanation.

What information on that page is going to help him?

What is the cause of the problem the users is facing?

Hey,

it seems the message has changed slightly over the past (from “Your data directory and files are probably accessible from the internet because the .htaccess file does not work.”) but it looks to me like the following FAQ is matching your problem and contains quite a lot of information on this topic: