Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,21 @@
Allow from all

###########################################
## Deny access to release notes to prevent disclosure of the installed Magento version
## Deny access to other project files to prevent disclosure of the installed Magento version or other information
## Only robots.txt and manifest.json should be allowed by default

<Files RELEASE_NOTES.txt>
order allow,deny
deny from all
</Files>
<FilesMatch (?<!robots)\.txt$>
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch (?<!manifest)\.json$>
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch \.(lock|md|sample|sh|yml|yaml)$>
Order allow,deny
Deny from all
</FilesMatch>

############################################
## If running in cluster environment, uncomment this
Expand Down