<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>参考:https://github.com/bcit-ci/CodeIgniter/blob/develop/application/.htaccess
最佳答案
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>参考: