#禁止列目录 
Options -Indexes

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

#RewriteRule ^Html.html$  Html/Html.html [QSA,PT,L]
#RewriteRule ^([^(Html)]+)\.html$  Html/$1\.html [QSA,L]  #诸如 /a.html 转为  /Html/a.html
#隐藏静态目录
RewriteRule ^(.*)\.html$ Html/$1.html [QSA,L]
</IfModule>

#禁止访问.htaccess文件
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>

#禁止访问.log文件
<Files *.log>
    Order allow,deny
    Deny from all
</Files>