# 防止目录暴露禁止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 目录下