# 炎酷CMS Apache 伪静态 + 目录保护
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^col-([0-9]+)(-([0-9]+))?\.html$ index.php?col=$1&p=$3 [L,QSA]
RewriteRule ^art-([0-9]+)\.html$ index.php?art=$1 [L,QSA]
RewriteRule ^page-([a-zA-Z0-9_]+)\.html$ index.php?page=$1 [L,QSA]
</IfModule>

# 禁止直接访问敏感目录内文件
RedirectMatch 403 ^/(data|cache|inc)/.*$

# 禁止直接访问模板文件（内含 PHP 源码；assets 公共静态资源除外）
RedirectMatch 403 ^/template/(header|footer|banner|block|page_tpl|list_tpl)/.*$
