I noticed a lot of Matrix builds exposing the /__data directory to the public. For example you can see this Edinburgh University website exposing everything in that directory.
From my test builds it seems the new way of installing Matrix into the /var/www/squiz_matrix seems to cause this issue whereas the old method of placing it inside /home/websites/squiz_matrix forbids the /__data directory.
Both apache virtual host file is identical.
So the question is how would you go about blocking this directory in Apache?
I’ve tried bunch of ways to block it without any success.