Fresh install with .htaccess and htaccess?!
-
I just did a fresh install of NextCloud and discovered that there are in app/data a .htaccess file and a htaccess file.
Both are filled with config but totally different and as far as I know the htaccess version (without .) shouldn't work.
Why is this difference?

-
On Nextcloud, the data directory is
/app/data. In hindsight, this was a mistake and it should ideally be/app/data/datadirectoryor something. We tried to fix this long ago, but it was complicated since nextcloud complains if you change the data directory, so we left it as-is.Because of the above quirk, there are two htaccess files. One for the data directory itself (
.htaccess) and one for the code directory (htaccess).When we eventually move the data directory to be a subdirectory, the
.htaccesswill move with it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login