I’ve just moved a site (Modx 2.8.4) to Siteground hosting and I’m getting the old message that the core folder is at least partially accessible. I’ve got appropriate code in root .htaccess and core .htaccess. There’s a .htaccess file above the root in Siteground hosting but I’ve got no access to that - winder if it’s affecting things. If I try to access mysitedotcom/core I get a 403 message from the server.
Core .htaccess…
# deny access to _all_ files in the core, including changelog.txt and error.log
# original borrowed from owncloud
# line below if for Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
</ifModule>
# section for Apache 2.2 and 2.4
IndexIgnore *
and I’ve also got this in root .htaccess…
# Block access to folders/files people have no need to touch
RewriteRule ^(\.|core|config\.core\.php) /index.php?q=doesnotexist[L]