Apache: Blocking access to certain file types with .htaccess
My templating system uses .stpl
files for it's definitions. I do not want to serve these files directly to my users so I used an .htaccess
file to block them.
<Files ~ "\.stpl$">
Order allow,deny
Deny from all
</Files>