严选品质
正规商家

whmcs财务系统apache 伪静态防扒皮规则

# 防止目录暴露禁止TPL INC CFG文件被下载
Options -Indexes
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
<Files ~ "\.(tpl|inc|cfg)$">
order deny,allow
deny from all
</files>

另存为 .htaccess 放在 templates 目录下

赞(1)
未经允许不得转载:主机推广 » whmcs财务系统apache 伪静态防扒皮规则