Its been a long time since I\'ve needed to crack open an .htaccess file...
What is the simplest way to 40x prevent access to a specific file extension through out the
If you really want a 404 (and not a 403), you can use mod_rewrite:
RewriteEngine on RewriteRule \.ext$ - [R=404]