<Files "*.txt"> 
  deny from all 
</Files> 
Addhandler application/x-httpd-php    .dat