title: How to disable cgi in htaccess in a non-extension dependant way?
body: <p>I would like to disable any kind of CGI execution in a directory below my document root directory. Any kind: php, perl, ruby... whatever. I would like to do it in a manner it's not depensant of the file extension. Below my document root because users have to be able to put and see HTML files.</p>
  
  <p>It has to be in htaccess, because it's a shared hosting.</p>
  
  <p>Using -ExecCGI alone is not working. I have to add to that line a AddHandler directive which is extension dependant.</p>
  
  <p>I have found <a href="https://stackoverflow.com/questions/1271899/disable-php-in-directory-including-all-sub-directories-with-htaccess">some close answer in this topic</a>, but they are extension dependant, php dependant or global apache configuration dependant.</p>
  
  <p>Is it possibly to do what I want?</p>
  
  <p>Thank you very much,</p>