DirectoryIndex index.php

# Khong cho hien danh sach file trong thu muc
Options -Indexes

# Chan truy cap truc tiep vao cac thu muc ma nguon (khong phai file tinh)
# tu trinh duyet, vi index.php/admin.php gio nam chung cap voi cac thu muc nay.
<IfModule mod_authz_core.c>
    # Apache 2.4+
    <FilesMatch "\.(php)$">
    </FilesMatch>
</IfModule>

RewriteEngine On
RewriteRule ^(config|core|app|database)/ - [F,L]
