Hello,
this is my first post, so sorry if I use the wrong category. I try the forum, because I didn’t find a solution for my problem after searching for hours…
Nextcloud version: 12.0.2
Operating system and version: Ubuntu 16.04
Apache or nginx version: Apache 2.4.25
PHP version: 7
Is this the first time you’ve seen this error?: no
Can you reliably replicate it? (If so, please outline steps): yes
The issue you are facing:
- If I open the administration panal with app. domain. com I get the message: “Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.”
- If I open the administration panal with domain. com/app I get the message, that everything is all right.
The whole story:
A few months ago I checked my installation with the alias url with scan.nextcloud.com and got a A Rating. So I added a subdomain. But no matter what I do, I get this message above, if I open the administration panal with subdomain.
So has anybody an idea what to do?
Thx a lot!
Sebastian
The output of your config.php file: