<FilesMatch "(.*)\.(php|log)$"> 
Order Allow,Deny 
Deny from all 
</FilesMatch>