Order Deny,Allow Deny from all #allow access to any image <FilesMatch "^(.+)\.(png|gif|svg)$"> Allow from all </FilesMatch>