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.
It has to be in htaccess, because it's a shared hosting.
Using -ExecCGI alone is not working. I have to add to that line a AddHandler directive which is extension dependant.
I have found some close answer in this topic, but they are extension dependant, php dependant or global apache configuration dependant.
Is it possibly to do what I want?
Thank you very much,