# 禁止访问敏感目录
RewriteEngine On
RewriteRule ^data/ - [F,L]
RewriteRule ^api/config\.php$ - [F,L]

# 禁止上传目录执行脚本
<IfModule mod_php.c>
    php_flag engine off
</IfModule>

# 设置默认首页
DirectoryIndex index.html
