<Files ~ "(php\.ini|\.htaccess|\.php.?|\.pl|\.cgi|\.jsp|\.as)$"> order deny,allow deny from all </Files>
info at phpclasses dot org