IndexIgnore *
Options All -Indexes
RedirectMatch 404 /\..*$
order allow,deny
deny from all
order allow,deny
deny from all
order allow,deny
deny from all
order allow,deny
deny from all
## Apache 2.2
order allow,deny
deny from all
## Apache 2.4
# Require all denied
RewriteEngine On
RewriteRule (/)?(build|lib|license|tests|test|apps|cache|config|data|log|plugins)(/.*)?$ - [F,NC]