apache禁止某些目录的访问
表示后缀为.gif,.jpe,.png,.txt结尾的文件不能访问
<FilesMatch \.(?i:gif|jpe?g|png|txt)$>
Order allow,deny
Deny from all
</FilesMatch>
表示后缀为.gif,.jpe,.png,.txt结尾的文件不能访问
<FilesMatch \.(?i:gif|jpe?g|png|txt)$>
Order allow,deny
Deny from all
</FilesMatch>