How do i setup .htaccess for a specific directory to not allow specific types of file extension and NOT ALLOW any execution of a the files within that directory?
A .htaccess file could only control the behavior of the webserver.
If you are speaking about
Apache does not execute any other file then CGI's.
To forbid the execution of files on system level, you have to remove the