<Files ~ "\.(php|pl|cgi|asp|py|exe|txt|php3|php4|php5|html|htm)$">  
Order deny,allow
deny from all
</Files>