# 慕呱联盟 Mugua Alliance 伪静态规则（Apache）
<IfModule mod_rewrite.c>
RewriteEngine On

# 备案详情页  /beian/ICP-2026000001.html
RewriteRule ^beian/ICP-([0-9]+)\.html$ beian.php?num=$1 [L,QSA]

# 成员列表页  /list-1.html
RewriteRule ^list-([0-9]+)\.html$ list.php?page=$1 [L,QSA]

# 参考路径兼容  /go/go.php?url=xx
RewriteRule ^go/go\.php$ go.php [L,QSA]
</IfModule>

# 禁止访问敏感目录
<FilesMatch "^(config\.php|install\.sql)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>
