# BBPPMT CMS - pretty URL + proteksi file internal
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
</IfModule>

<IfModule mod_authz_core.c>
<FilesMatch "^(config\.php|.*\.json)$">
Require all denied
</FilesMatch>
</IfModule>
<IfModule !mod_authz_core.c>
<FilesMatch "^(config\.php|.*\.json)$">
Deny from all
</FilesMatch>
</IfModule>