<IfModule authz_core_module>
Require all
denied
</IfModule>
<IfModule !authz_core_module>
Deny from
all
</IfModule>
<IfModule mod_rewrite.c>
Options
+FollowSymlinks
RewriteEngine On
# block hidden directories
RewriteRule "(^|/)\." - [F]
RewriteCond %{REQUEST_FILENAME}
!-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$
./index.php/$1 [L,QSA]
</IfModule>