<Files ~ "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml|tpl|txt)"> 
    Order allow,deny 
    Deny from all 
</Files> 
