How to test if my files are not accessible from the internet?

@mritzmann
And if I am logged in, I should be able to access the file, yes? Then perhaps I am using the wrong path?

@devnull
But the error was not displayed in earlier versions, so was it wrong then or is it wrong now (AllowOverride All is included in my apache2.conf)?
The support of my webhoster said that the data directory is outside of webroot, I used their oneclick installer and assume that they configured it well.
Moving the data directory retroactively seems not possible without root.

I am not sure if I understand webroot correctly:

  1. webroot and document root are the same, yes?
  2. webroot is defined in apache2.conf and there might be multiple webroot entries (e.g. for subdomains), yes?
  3. nextcloud data directory is literally /foo/bar/nextcloud/data/ or is it /foo/bar/nextcloud/data/<username>/files/ ?
  4. if apache2.conf contains DocumentRoot "/foo/bar" that means that /foo/bar/nextcloud/data/ is in webroot and should be moved e.g. to /foo/, yes?
  5. if apache2.conf contains DocumentRoot /foo/bar/nextcloud in addition to DocumentRoot "/foo/bar" that does not change the fact that /foo/bar/nextcloud/data/ is in webroot, yes?