<Files ~ ".*"> Order Allow,Deny Deny fromAll </Files> <Files ~ ".jpg$|.gif$|.png$"> OrderDeny,Allow Allow from All </Files>