<Files ~ "(^\.)|(\.log$)">
Deny from all 
</Files>